中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-15 09:46
47,813 topics / 349,902 posts / today 0 new / 48,257 members
DOS疑难解答 & 问题讨论 (解答室) » Ask the great experts about the usage of the Fc command [Help]
Printable Version  1,539 / 3
Floor1 鲲鹏 Posted 2003-06-10 00:00
初级用户 Posts 1 Credits 103 From 广东
The FC command is used to compare the differences between two files. There are two files:
File: A File: B
a c
b b
c a
d

Issue the command fc D:\LS\Ls\a.txt D:\LS\Ls\b.txt>myfc.txt
Open the myfc.txt file and it shows
Comparing files D:\LS\Ls\a.txt and D:\LS\Ls\b.txt
****** D:\LS\Ls\a.txt
a
b
c
d
****** D:\LS\Ls\b.txt
c
b
a
******
How does this file display the differences between the two files?
Floor2 naxie Posted 2010-03-30 22:25
新手上路 Posts 6 Credits 13
I want to know too
Floor3 DOSforever Posted 2010-03-31 00:04
金牌会员 Posts 2,239 Credits 4,639
It's a pity that I can only look with my eyes. The FC isn't that intelligent yet.
I also want to find a command-line software that can intelligently display the differences between two files under DOS or Windows.
Floor4 HAT Posted 2010-03-31 11:38
版主 Posts 5,017 Credits 9,023
This grave digging is really skillful. Try GNU for Win32's diff.exe.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023