home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
COMP67.ZIP
/
COMP.DOC
< prev
next >
Wrap
Text File
|
1990-12-18
|
6KB
|
162 lines
COMP Version 6.7 December 18,1990
Copyright 1989,1990 Les J. Ventimiglia
Introduction
------------
COMP (Binary COMPare files). This utility allows one to
compare all the files in one tree against those of another
tree, great for checking backups. COMP is released as
shareware. Registration is required for the enhanced
version.
COMP is an enhanced COMP command supporting directory
recursion and HPFS long file names of OS/2 1.2 or later.
This documentation describes the registered version of COMP.
The non-registered version does not support the /e or /s
options. Nor does it display the mis-matches found.
COMP is provided in a protected mode version as well as a
bound version for use in DOS or OS/2.
The zip file should contain the following files:
COMP.EXE Protected mode executable.
BCOMP.EXE Bound executable.
COMP.DOC This document file.
Change History
--------------
Version 6.0 24jun90 was the first release as Shareware.
Version 6.1 15aug90 Modified display of data mismatch offset
from decimal to hexidecimal.
Version 6.2 11sep90 Fixed "comp x: y:" bug.
Fixed "comp *.xyz *.x" bug.
Fixed protected mode wild card matching.
Version 6.3 11oct90 Increased compare buffer size to 32k from 20k
Version 6.4 12oct90 Added code to display first 10 mismatches.
Version 6.5 19nov90 Increased compare buffer size to 32k from 20k
Version 6.6 09dec90 Fixed "comp abc.* efg.*" bug
Version 6.7 18dec90 Split into registered and non-registered
versions.
Syntax
------
COMP [/ems] filespec1 filespec2
Where : /m = Mono (no color).
/? = Displays usage summary.
/e = Display errors only.
/s = Traverse all subdirectories below the ones
specified.
filespec1 is the source file or directory
filespec2 is the target file or directory
Wild card characters are accepted in the filespecs. Long file
names containing spaces should be enclosed in quotes.
/ options can be combined or be specified separately before or
after any of the filespecs.
/se == /s/e == /s /e
The following errors may appear:
NOT FOUND : The target file could not be found.
SIZE MISMATCH : The source and target are of different sizes.
DATA MISMATCH @XXXXXXXX : The source and target are the same
size, but differ in content starting at xxxxxxx.
EXAMPLES
--------
To check the contents of one tree on drive c: against the
contents of your backup on drive d:
COMP c:\source d:\target /s
The same operation as above but showing errors only:
COMP /se c:\source d:\target
To compare only assembler source files in the current
directory against those in the parent directory:
COMP *.asm ..
ERRORLEVEL
----------
Since COMP sets the errorlevel on return to the command
prompt, it can be used in batch files. The Errorlevel will
be set to a value between 0 and 7 as follows:
No errors found returns 0.
Any target files not found will OR in a 1.
Any file size mis-matches wll OR in a 2.
Any file data mis-compares will OR in a 4.
Thus if any target files are not found and if there is a data
mis-compare, the errorlevel will be set to 4 OR'd with 1 = 5.
SHAREWARE
---------
COMP is distributed under the SHAREWARE concept.
You are encouraged to copy and share this program with other users.
Please do not remove the copyright or the user-supported notice.
If you enjoy COMP and find it of value and wish to receive
the enhanced version, send $10 to the address at the end of the
file.
COMP is one of the "Ventimiglia Tools" family of programer
enhancement utilities. Look for more of these enhancement
utilities coming soon to a BBS near you.
SHAREWARE is based on these three beliefs:
1. The value of software is best assessed by the
user on his own system.
2. Creation of personal computer software can and
should be supported by computing community.
3. That copying of programs should be encouraged,
rather than restricted.
Copyright/License/Warranty
--------------------------
This document and the current version of the program file
COMP.EXE ("the software") are copyrighted by the author. The
copyright owner hereby licenses you to: use the software; make
as many copies of the program and documentation as you wish;
give such copies to anyone; and distribute the software and
documentation via electronic means.
However, you are specifically prohibited from charging, or
requesting donations, for any such copies, however made.
No copy of the software may be distributed or given away without
this document; and this notice must not be removed.
There is no warranty of any kind, and the copyright owner is not
liable for damages of any kind. By using the software, you agree
to this.
Contact
-------
Send registration fees and/or questions to :
Les J. Ventimiglia
15247 Monroe Ave.
Moorpark, CA. 93021
(805) 529-6370