How can I command compare files and folders DOS?
I want to transfer many files from multiple computers to a single one and I want to check that everything is done successfully.Â
Is there any simply DOS command to compare the files?
I want to transfer many files from multiple computers to a single one and I want to check that everything is done successfully.Â
Is there any simply DOS command to compare the files?
You can use either the COMP or FC command. Both commands compare two files or directories, and display the differences between them.
For COMP, the syntax is: "COMP [data1] [data2] [/D] [/A] [/L] [/N] [/C]."
The use of wild cards in data1 and data2 allows the comparison between sets of files and folders.
For FC, the syntax is: "FC [/A] [/C] [/L] [/LBn] [/N] [/T] [/W] [/nnnn] [drive1:][path1]filename1Â [drive2:][path2]filename2" and "FC /B [drive1:][path1]filename1Â [drive2:][path2]filename2"