Comparing Between Two Files

Syntax:

fc (1st file name) (2nd file name)

or

comp (1st file name) (2nd file name)

ð To compare between two files:

Example: There are two files f1 and f2 in the c: drive with different data.

C:\>type f1

C:\>type f2

c:\>fc f1 f2

c:\> comp f1 f2