File Date Comparison Utility
| Release: | 1.0 |
|---|---|
| Date: | 15 July 2009 |
| O/S: | All Windows 9x and NT versions (inc. XP, Vista & Windows 7) |
- Overview
- Download
- Install Info
- Change Log
- License
Overview
This console application compares the last modification dates of two files whose names are passed on the command line. It returns an exit code that informs if the first named file has an earlier modification date than the second file.
The usage is:
CompFileDate <filename1> <filename2> [-v]
or
CompFileDate -h | -?
Where
-
<filename1> - Is the name of the first file to be compared.
-
<filename2> - Is the name of the second file to be compared.
-
-v - Causes the program to emit output to the console's standard output. If this switch is not specified the program emits nothing, unless an error is detected when the switch is ignored.
-
-hor-? - Displays a help screen on standard output.
| Code | Meaning |
|---|---|
| 0 |
<filename1> is newer than, or has the same
modification date as <filename2>.
|
| 1 |
<filename1> is older than
<filename2>.
|
| 100 | Unknown error detected. |
| 101 | An invalid switch was supplied. |
| 102 | Incorrect number of file names supplied. |
| 103 | Both file names were the same. |
| 104 | Date information couldn't be read from one or both files. It is possible that a file doesn't exist |

