NotFileExists |
Top Previous Next |
The NotFileExists condition returns true if the specified file does not exist.
Command Syntax
The command syntax is the command name, followed by a colon, then the fully qualified path and file name to check:
NotFileExists:[FileName]
Parameters:
FileName: The fully qualified path and file name to check
The parameter is compulsory. The parameter is compulsory and must be surrounded by quotation marks if one or more spaces are included in the path and file name. It is good practice to include the quotation marks in any case, so that it reduces the risk of error when writing scripts. If the parameter is missing an error will be thrown.
Example:
If:NotFileExists:"c:\Test Text.txt",Remark:"Yes",Remark:"No"
See Also: FileExists DirectoryExists NotDirectoryExists |