ldirrename
Rename the specified directory, ignoring redirections in the assignment file.
ldirrename DirPath, NewDirName
Example: ldirrename "data/exports", "saved"
Parameters
Parameter | Data Type | Description |
---|---|---|
DirPath | String | Directory name, optionally preceded by the path to the directory, which can be in a zip archive. |
NewDirName | String | New directory name, which can be in a zip archive. Must not end with a directory separator, and must not include the path to the directory. |
Return Values
Value | Error constant | Meaning |
---|---|---|
0
|
|
Successful |
-13
|
<UIOSERR_OS_COMMAND>
|
An error occurred while trying to perform
the OS command. Set /pri=64 to display the exact error in the message frame. |
Use
Allowed in all component types.
Description
The ldirrename statement renames the specified directory DirPath to NewDirName, ignoring any file redirections in the assignment file. in other respects, it works like dirrename. For more information, see dirrename.
Version | Change |
---|---|
9.1.01 | Added ZIP file support |