--
posted by Don Mayfield
DonMa...@excite.com
Sent via Deja.com http://www.deja.com/
Before you buy.
The unix 'diff' command has been ported to the PC in various incarnations.
Check the GNU website (www.gnu.org) and search on the term on some of the
freeware lists.
I use vdiff from MKS ToolKit (www.mks.com). They took a version of the
unix diff and put a GUI on it. The MKS products are not free, but give you
a lot more than just diff.
If you have Microsoft Word, you can do it with that (compare documents).
It may seem a bit klunky, but it does work.
Doc
DonMayfield wrote:
--
Lawrence H. ('Doc') Muhlbaier muhl...@mc.duke.edu
Assistant Research Professor
Duke University Medical Center 919-668-8774 (office)
DUMC 3865 919-383-0595 (home)
Durham, NC 27710-7510 919-668-7057 (FAX)
In addition, you can download a number of file compare utilities from
the web (including the gnu suite of diffs).
RCW
Compares the contents of two files. ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ COMP ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿ drive ÿÿÿÿ path ÿÿ ÿÿ drive ÿÿÿÿ path ÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿ filename ÿÿ ÿÿ drive ÿÿ ÿÿ path ÿÿ ÿÿ filename ÿÿ Related Commands: DISKCOMP Type this command without a parameter to start a step-by-step menu to compare files. The files you compare can be on the same or different drives, or in the same or different directories. The two sets of files you want to compare can have the same path and file names, provided they are on different drives. If you specify only a drive for the second file and do not specify a file name, COMP assumes that the second file name is the same as the first. If you specify a drive or path with no file name for either the primary or secondary path and file name, COMP assumes a file name of *.. After the comparison of the two files, COMP proceeds with the next pair of files that match the two file names. When COMP cannot find any more files that match the first parameter, it displays a message asking if you want to compare more files. Type a Y (Yes) to compare two more files, or end COMP by entering an N (No). If the file sizes are different, COMP displays a message informing you of this and asks if you want to continue. You now have the option to continue the comparison or end it. If you choose to continue, COMP processes both files based on the length of the smaller of the two files. During a comparison, an error message appears for any location that contains mismatching information in the two files. After 10 mismatches, processing ends. COMP does not wait for you to insert a diskette containing a file to be compared. Therefore, if the file to be compared is on a diskette, enter COMP without a parameter. COMP then prompts for the file name. Insert the diskette and enter the name of the file to be compared. Return Codes 0 - Normal completion. 1 - No files were found to compare. 2 - Some files or directories were not processed because of file errors. 3 - Ended by user. 4 - Ended because of error. 5 - Files did not compare O.K.
There is a command to do this in the Win98 version of DOS called fc.exe.
In DOS 6.2 it was called comp.exe. Both will do what you need and report
out any differences between files.
Mike
--
__________________________________________________________________________
"La Longue Carabine"
Located @ |"...no elector should ever submit himself
42 49.07'N | so implicitly to party as to support a man
86 01.49' W | whose private acts prove him to be unfit
| for a public trust. The basis of the rep-
| resentative system is character, and without
| character, no man should be confided in."
-James Fenimore Cooper
Here are some of my delta comparison favorites...
DELTA http://home.dti.net/open/delta.html
WDiff http://www.execpc.com/~csitte
TreeComp http://www.xs4all.nl/~lploeger/TreeComp3.htm
UltraEdit http://www.ultraedit.com
WinDiff (Windows 98 CD, Resource Kit folder and other MS developer products)
http://mspress.microsoft.com/reslink/
(open the Toolbox bullet, Select your OS and open the File Tools book, you
should see WINDIFF.EXE as the last item)
WinXs (a Unix shell for Windows) http://www.shareware.com (search for
winxs32)
and the other multitudes of gnu wdiff's
Enjoy!
Rich
DonMayfield <DonMa...@excite.com> wrote in message
news:7ttivo$f56$1...@nnrp1.deja.com...
> I am looking for a windows or dos compare utility to compare two source
> code files for changes.
>
>
Check here and download it from
ftp://ftp.simtel.net/pub/simtelnet/win95
Joseph