Search found 2 matches
- 02 Mar 2006 03:45
- Forum: DOS Batch Forum
- Topic: How to act on the difference of two files?
- Replies: 3
- Views: 8550
- 14 Feb 2006 13:27
- Forum: DOS Batch Forum
- Topic: How to act on the difference of two files?
- Replies: 3
- Views: 8550
How to act on the difference of two files?
I want to write: if these two files are different then do this piece of code else do that piece of code endif I know fc (filecompare) does not give an exit code depending on de difference of the files. In UNIX I would write if cmp file1 file2 then echo files are equal else echo files are not equal f...