TSTool / Command / RemoveFile
RemoveFile command removes a file from the file system.
The command is used to remove results files before attempting to regenerate the results and is used extensively in software testing.
A failure will be generated if the file exists and cannot be removed (e.g., due to file permissions or because the file is being used by another process).
Even read-only files may be removed by this command, depending on how the operating system and computer environment handle access permissions.
The following dialog is used to edit the command and illustrates the command syntax.
RemoveFile Command Editor (see also the full-size image)
The command syntax is as follows:
|The name of the file to delete. Can be specified using
|None - must be specified.
|Indicate an action if the source file is not found:
See the automated tests.