CompFileDate is a file modification date comparison utility for the Windows command line. See below for an overview of the program.
This project was registered on SourceForge.net on 28 Jul 2009.
This is only a small project and it was registered simply for the purpose of evaluating SourceForge before migrating a larger project.
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>
<filename2>
-v
-h or -?
| 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 |