Tool to compare 2 csv files - ScriptLance Programming Project
Just thought I'd share a solution that took 1 minute; not the: 1 day, 1 day, 5 hours and 1 hour bids that were posted.
This is a dos level file compare. Not a modern .diff. but it gets the job done.
fc dennis1.txt dennis1.txt /n /w
Comparing files Dennis1.txt and DENNIS1.TXT
FC: no differences encountered
fc dennis1.txt dennis2.txt /n /w
Comparing files Dennis1.txt and DENNIS2.TXT
***** Dennis1.txt
3: sdfsdf
4: sdfsdfs sd sdf sdf
5: sdsdf s
***** DENNIS2.TXT
3: sdfsdf
4: sd dfs sd sdf sdf
5: sdsdf s
*****
fc dennis1.txt dennis2.txt /n /w > result.txt
type result.txt
Comparing files Dennis1.txt and DENNIS2.TXT
***** Dennis1.txt
3: sdfsdf
4: sdfsdfs sd sdf sdf
5: sdsdf s
***** DENNIS2.TXT
3: sdfsdf
4: sd dfs sd sdf sdf
5: sdsdf s
*****
Or chain multiple files together with ...
fc dennis1.txt dennis2.txt /n /w >> result.txt
type result.txt
Comparing files Dennis1.txt and DENNIS2.TXT
***** Dennis1.txt
3: sdfsdf
4: sdfsdfs sd sdf sdf
5: sdsdf s
***** DENNIS2.TXT
3: sdfsdf
4: sd dfs sd sdf sdf
5: sdsdf s
*****
Comparing files Dennis1.txt and DENNIS2.TXT
***** Dennis1.txt
3: sdfsdf
4: sdfsdfs sd sdf sdf
5: sdsdf s
***** DENNIS2.TXT
3: sdfsdf
4: sd dfs sd sdf sdf
5: sdsdf s
*****
D.
Comments