fc.exe: command line tool in windows 8

不打扰是莪最后的温柔 提交于 2019-12-13 06:54:15

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!