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

Get CompFileDate at SourceForge.net. Fast, secure and Free Open Source software downloads
Softpedia 100% Free symbol

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.
-h or -?
Displays a help screen on standard output.
CompFileDate Exit Codes
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