Windows Commands: Compares two files or sets of files and displays the differences between them.


comp-Windows Command

comp command - Compares two files or sets of files and displays the differences between them.

comp [/A] [/C] [/L] [/LBn] [/N] [/T] [/W] [/nnnn] [drive1:][path1]filename1 [drive2:][path2]filename2

comp /B [drive1:][path1]filename1 [drive2:][path2]filename2

 /A       Displays only first and last lines for each set of differences.
 /B        Performs a binary comparison.
 /C       Disregards the case of letters.
 /L        Compares files as ASCII text.
 /LBn    Sets the maximum consecutive mismatches to the specified number of lines.
 /N       Displays the line numbers on an ASCII comparison.
 /T        Does not expand tabs to spaces.
 /W      Compresses white space (tabs and spaces) for comparison.
 /nnnn   Specifies the number of consecutive lines that must match after a mismatch.
 [drive1:][path1]filename1         Specifies the first file or set of files to compare.
 [drive2:][path2]filename2         Specifies the second file or set of files to compare.[citation needed]

Equivalent to the Unix commands comm, cmp and diff.

Other Windows 98, Windows XP Commands:
addusers , arp , assoc , associate , at , attrib , browstat , cacls , call , cd , change , chkdsk , chkntfs , choice , cipher , cleanmgr , clip , cmd , color , comp , con2prt , copy , date , defrag , del , delprof , dir , diruse , diskcomp , diskcopy , doskey , dsadd , dsmod , echo , endlocal , erase , exit , expand , fc , fdisk , find , findstr , for , forfiles , format , fsutil , ftp , ftype , global , goto , help , hfnetchk , if , ifmember , ipconfig , kill , label , ldifde , local , logevent , logoff , logtime , mapisend , md , mem , mode , monitor , more , mountvol , move , moveuser , msg , msiexec , msinfo32 , mstsc , munge , mv , nbtstat , net , netdom , netsh , netstat , netsvc , now , nslookup , ntbackup , ntrights , path , pathping , pause , perms , ping , popd , portqry , print , prncnfg , prnmngr , prompt , pushd , qgrep , rasdial , rasphone , rd and , rdisk , recover , reg , regedit , regsvr32 , rem , renc , replace , rmtshare , robocopy , route , runas , rundll32 , sc , schtasks , sclist , scriptit , set , setlocal , setx , share , shift , shortcut , showgrps , showmbrs , shutdown , sleep , soon , sort , start , su , subinacl , subst , tasklist , time , timeout , title , touch , tracert , type , ver , verify , vol , where , whoami , windiff , winmsd , winmsdp , wmic , xcacls , xcopy ,
Live2Support.com :
Product - Benefits - Features - How Does it Works - Pricing - SSL Certificates - Signup - Contactus - Login - Submit Resources