问题
I need to compare two text file and get the lines which are different.
I used
fc file1.txt file2.txt > fc.txt
I got the result but there is a problem:
If a line in any file is more than 128 character long, It breaks it into another line (after 128th character) and then compares.
Is this a commom problem? (this problem is not the same as this one: http://support.microsoft.com/kb/953929)
回答1:
If you're running this under PowerShell, fc
is an alias for the Format-Custom
command. You want to run fc.exe
.
来源:https://stackoverflow.com/questions/27484208/fc-exe-command-line-tool-in-windows-8