directoryRename

Renames given directory

directoryRename(path, newPath) → returns void

directoryRename Argument Reference

path string
Required

newPath string
Required

Examples sample code invoking the directoryRename function

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

Fork me on GitHub