flamethrower205

Illustrious
Jun 26, 2001
13,105
0
40,780
Hi,
I need to compare 2 documents (txt), which have only a few words different, but are 45 pages long. I was told that there is a command in MS DOS to compare the 2 documents. My last resort will have to be connecting to a Unix supercomputer, but would rather first attempt in MS DOS. Any suggestions would be helpful- what is teh command?

When I rule the world, Apple will only mean the fruit.
 
G

Guest

Guest
COMP [d:][path][filename] [d:][path][filename]

this is the format for the compare command.

ignore everything i say
 

NickM

Distinguished
Mar 25, 2001
563
0
18,980
Compares the contents of two files or sets of files.

COMP [data1] [data2] [/D] [/A] [/L] [/N=number] [/C]

data1 Specifies location and name(s) of first file(s) to compare.
data2 Specifies location and name(s) of second files to compare.
/D Displays differences in decimal format. This is the default
setting.
/A Displays differences in ASCII characters.
/L Displays line numbers for differences.
/N=number Compares only the first specified number of lines in each file.
/C Disregards case of ASCII letters when comparing files.

To compare sets of files, use wildcards in data1 and data2 parameters.