directoryRename

Renames given directory

directoryRename(path, newPath) → returns void

Argument Reference for the directoryRename function

path

Required: Yes

newPath

Required: Yes

Examples sample code invoking the directoryRename function


Tag Syntax

<cfset renameDirectory = "someDirPath" /> 
 <cfset rename = "newName" /> 
 <cfset directoryRename(renameDirectory,newName)>  

Fork me on GitHub