lfiledelete

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

lfiledelete  FilePath

Example: lfiledelete "sub1dir\test.txt"

Parameters

Parameters
Parameter Data Type Description
FilePath String File name, optionally preceded by the path to the file. The file can be located in a ZIP archive. Must not 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 lfiledelete statement deletes the specified file, but ignores any file redirections in the assignment file. In other respects it is the same as filedelete. For more information, see filedelete.

History
VersionChange
9.1.01Added ZIP file support

Related Topics