VERSION CHECKER
It will specifically look at a text file called v1 and compare it to another
text file called v2 for the first line and remove "VeRsIoN" then
convert the number found to a floating point number
and compare the values from the v1 and v2 file.
VERSIONCHCK |
| Complete
setup program |
|
VERCHK.ZIP |
|
And if the v1 number is less then v2 number it will return an errorlevel
1. When this happens the file will not be copied to the destination. Errorlevel(s)
Used:
- Do not copy the
file if it's older
- First "File Not
Found"
- Second "File Not
Found"
- Invalid number of
arguments passed
First should be a Text
file of version information of file to be copied
Second should be a
Text file of version information of file that would have been replaced
Ex: VerChk V1 V2
- First files Version
information file has no length you decide what to do to copy or not
to copy that is the question?.
- Second files Version
information file has no length You decide what to do to copy or not
to copy that is the question?.
You must Consult
the batch files used along with this utility: UPD.BAT LK.BAT to understand
the full implication of all related items.
Written originally
for use with the updates of a dozen or so servers this program was designed
to work with CRTDIR
Copyright © 2000 - 2003 Richard Gendron [rgendron.com]. All rights reserved.
|