Compares Two Groups of Files or Directory
May 27, 2009 Leave a comment
how we compares two groups of files or directory to find information that does not match eachother with the fast way?
Here is the trick:
use command promt (DOS) in Windows OS
the command is :
COMP [d:][path][filename] [d:][path][filename] [/A][/C][/D][/L][/N:(number)]
Options
/A – Displays the differences found between compared files as characters.
/C – Performs a comparison that is not case-sensitive.
/D – Displays the differences found between compared files in decimal format. (The default format is hexadecimal.)
/L – Displays the number of the line where the difference occurred, rather than the byte offset.
/N:(number) – Allows you to enter the number of lines in both files that will be compared, even if the files are of different sizes.