>>-SysFileDelete(file)-----------------------------------------><
Deletes a file. SysFileDelete does not support wildcard file specifications.
Parameter:
The name of the file to be deleted.
Return codes:
File deleted successfully.
An error occurred. On Windows, a Windows System Error code is returned. This may be one of the following, but could be others.
File not found.
Path not found.
Access denied or busy.
Not DOS disk.
Sharing violation.
Sharing buffer exceeded.
Does not exist.
File name exceeds range error.
Example:
/* Code */ parse arg InputFile OutputFile call SysFileDelete OutputFile /* unconditionally erase output file */