DirectoryMove
Moves a directory from one location to another
Method Signature
DirectoryMove(oldPath=[string], newPath=[string], createPath=[boolean])
Arguments
Argument
Type
Required
Description
Default
oldPath
string
true
The previous directory path
newPath
string
true
The new directory path
createPath
boolean
false
[true] Whether to create all necessary paths to the new path
true
Examples
Tag Syntax
<bx:set renameDirectory = "someDirPath" >
<bx:set rename = "newName" >
<bx:set directoryRename( renameDirectory, newName ) >
Additional Examples
reNamedirectory = "directoryPath";
directoryRename( reNamedirectory, "newname" );
Related
Last updated
Was this helpful?