home *** CD-ROM | disk | FTP | other *** search
- condition can be one of:
- 1. NOT <condition> which is true if and only if <condition> is false.
- 2. EXIST [d:][pathname]filename[.ext] which is true if the specified file
- exists. Wildcards may be used. EXIST always fails for directory names.
- (See the DIRECTORY_TESTS topic for some tests for directories.)
- 3. string1==string2 which is true if string1 and string2 are identical.
- Strings can't have embedded special characters (like blank, > or <),
- but they can have embedded substitutable parameters (%1, or the like),
- or environment variables (%PATH%, for example)!
- 4. ERRORLEVEL n which is true only if the previous external command had an
- an exit code of n or greater. Some DOS commands that set a value that
- can be tested are BACKUP, RESTORE, and REPLACE. The values are:
- 0 - Normal Completion
- 1 - No files found to backup/restore
- 2 - Some files not backed up/restored due to file sharing conflicts
- 3 - Terminated by user (control break)
- 4 - Terminated due to error