ldirdelete

Delete the specified directory, ignoring any redirections in the assignment file.

ldirdelete  DirPath

Example: ldirdelete "data/exports"

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. Must end with a directory separator.

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 ldirdelete statement deletes the specified directory DirPath, ignoring any file redirections in the assignment file. in other respects, it works like dirdelete. For more information, see dirdelete.

History
VersionChange
9.1.01Added ZIP file support

Related Topics