COMP to compare files
- Sean O'Shea
- Aug 10, 2019
- 1 min read
You can use the Windows command COMP to compare two different files.
Entering the command COMP followed by the paths of two different files:
COMP c:\foofolder\file1.txt c:\foofolder\file2.txt /D
. . . will let you know if the files are identical in size.






