Dec 222017
 
Compares two file's date, time, size and data. Can specify hidden files.
File COMPARE.ZIP from The Programmer’s Corner in
Category File Managers
Compares two file’s date, time, size and data. Can specify hidden files.
File Name File Size Zip Size Zip Type
COMPARE.COM 2479 1415 deflated
COMPARE.DOC 1533 668 deflated

Download File COMPARE.ZIP Here

Contents of the COMPARE.DOC file


COMPARE.DOC

Compare will execute a byte by byte compare check of two files.
Any mismatches will be output to the screen as absolute offsets from
the beginning of the file. I/O redirection is supported, and output
can be redirected to a disk file.


Compare uses an advanced double segment buffering scheme to
take advantage of the DOS 64k block read function. Each file is
read into its own 64k segment and then compared on a byte basis.


Unlike the DOS Comp.Com utility, Compare will process files of
unequal length, up the the length of the shorter file.


Time, date, and data are all checked. The results can be tested
via the DOS ErrorLevel function. Wild cards are not supported at this
release level.


ErrorLevel 0 - Files are identical
1 - Size mismatch
2 - Data mismatch
3 - Abort with error


The highest level return code is the returned result. The
return code can be displayed by including /D on the command line
after the 2nd file name.


Compare file1.ext file2.ext /D


Bug reports, praise, and money all graciously accepted. Mailing
address and CompuServe E-Mail ID are included in the banner screen.
Type COMPARE to display usage instructions and banner screen.


 December 22, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)