Delete the specified file(s).
|1||FileToDelete||The full path to the file(s) including sub-directories to delete. Wildcards are supported. If the file does not exist or no files match the wildcard a warning will be logged.|
|-||NOWARN (Optional)||Do not log a warning if the files don't exist|
|-||NOREC (Optional)||Only matching files in the specified directory will be deleted. Sub-directories will be ignored.|
In this example FileDelete will delete all text files (*.txt ) from c:\MyPath
In this example FileDelete will delete all text files (* .txt) from the MyPath directory only. Any .txt files in any sub directories of MyPath will NOT be deleted. If no files are found a warning will not be added to the log file.
The Nowarn and Norec parameters were added in Winbuilder 082. They will not work with older versions.