Win2000 file comparison tool

  

First, although it is first sight, it seems to have known each other

WinDiff is a tool for comparing files in windows2000 support tools. Mainly used to compare ASCII files, the most significant use is to compare the source code of the program files. Suppose, if you have a file on your A: disk, it was originally copied from the C: drive. For some reason, you suspect that A: there may be a problem with the files on the disk. If you ensure that the files on the C: disk are no problem at this time, you can use WinDiff for the files on the A: and the files on the C: disk. Compare. If you are familiar with the dos command, you must know the Comp command or the FC command. In fact, WinDiff is equivalent to the above dos command, but this is the Windows version and the function is stronger. Therefore, from a functional point of view: Although the tool is first sighted, it seems to have met.

Like some programs in the support tool, WinDiff works with both interfaces: the command line interface and the graphical interface. But there are also differences from the tools available in both versions: the graphical interface will appear after WinDiff is launched from the command line. I actually verified it, and the output is consistent with the Windows working interface.

The command line can be used in the command console--CMD window. It works under CMD. The main advantage is that it occupies very little system resources and can adapt to the environment with strict resource constraints. The program of graphical interface Can be used directly in windows2000, the two are actually the same. Another problem is getting online help. We are very accustomed to the "command /?" way. With this particularity, in the CMD window, you use /? like the previous command line program. When getting help, the result is not a character interface.

It's a screenshot like the one above. Although it is a graphic, it also plays the role of online help.

Second, introduce the command line

The detailed syntax of WinDiff using the command line is as follows:

windiff path1 [path2] [-D] [-O] [-N name] [-S [options] savefile] [-F [options] comp_savefile]

Parameters and Description:

path1 path2
File path to compare.

-D
Compare only in one directory.

-O
The summary shows the comparison results.

-N name
This parameter is used to issue a notification of the comparison result after the file comparison is completed. Name is the name of the file when the notification is sent over the network.

Copyright © Windows knowledge All Rights Reserved