Windows下比较文件内容命令@fc

Linux有比较文件内容差异的命令diff,那么Windows下呢?Windows下对应的命令是@fc,使用方式是

@fc "file1" "file2"

例如

D:\PA4\TestCases\S2>@fc "output\z5.result" "result\z5.result"
正在比较文件 OUTPUT\z5.result 和 RESULT\Z5.RESULT
***** OUTPUT\z5.result
SPIM Version 7.2.1 of August 28, 2005
Copyright 1990-2004 by James R. Larus ([email protected]).
***** RESULT\Z5.RESULT
SPIM Version 7.3. of August 28, 2006
Copyright 1990-2004 by James R. Larus ([email protected]).
*****

***** OUTPUT\z5.result
See the file README for a full copyright notice.
Loaded: ./trap.handler
4true4
***** RESULT\Z5.RESULT
See the file README for a full copyright notice.
Loaded: ./exceptions.s
4true4
*****

猜你喜欢

转载自blog.csdn.net/da_kao_la/article/details/85257200
今日推荐