ldirrename

Rename the specified directory, ignoring redirections in the assignment file.

ldirrename  DirPath, NewDirName

Example: ldirrename "data/exports", "saved"

Parameters

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

Values returned by $procerror
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.

History
VersionChange
9.1.01Added ZIP file support

Related Topics