home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
d
/
d-chk102.zip
/
D-CHK.DOC
< prev
next >
Wrap
Text File
|
1993-03-27
|
557b
|
18 lines
D-CHK.EXE is a small program for use with BATCH files to compare the
time-date stamps of two files. DOS Errorlevels are returned depending
on the parameters. To view the help screen, just type D-CHK at the
DOS prompt.
A sample BATCH language file is included to illustrate how the DOS
error return levels can be detected and acted upon.
The unwanted output from the D-CHK program can be discarded by using
redirection.
Example of redirection:
D-CHK FILE_1 FILE_2 >NUL
where the output is redirected (">") to the bit bucket ("NUL").