This function block can be used to rename a directory and is optional for the different targets. Whether this function block is implemented or not is explicitly stated and encoded in the return value of the function ”FILE.GetProperty”(see description of File.GetProperty). The directory cannot be renamed until access on the properties has been terminated via FILE.DirClose. The function block can be used to move files or directories!
Inputs:
xExecute
|
BOOL |
|
sDirNameOld |
CAA.FILENAME |
Old directory name |
sDirNameNew |
CAA.FILENAME |
New directory name |
Outputs:
xDone
|
BOOL |
|
xBusy |
BOOL |
|
xError |
BOOL |
|
eError |
FILE.ERROR |
Error ID |