Prev | Current Page 860 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

microsoft.com/default.aspx?scid=kb;en-us;888017.
Performing Advanced File Comparison with the FC Utility
The FC utility is a slightly advanced form of the Comp utility described in an earlier section. You
can use it for the same types of activities, but perform a more flexible comparison of the two files.
For example, this utility has a comparison mode specifically designed for binary files. This utility
uses the following syntax (the first is for ASCII files; the second is for binary files):
FC [/A] [/C] [/L] [/LBn] [/N] [/OFF[LINE]] [/T] [/U] [/W] [/nnnn]
[drive1:][path1]filename1 [drive2:][path2]filename2
FC /B [drive1:][path1]filename1 [drive2:][path2]filename2
The following list describes each of the command line arguments.
/A Displays only the first and last lines for each set of differences. Normally, the FC utility (like
the Comp utility) displays every line for a set of differences, making the output difficult to read
when the files have a lot of differences.
/B Performs a binary comparison of the two files. This means that the FC utility won??™t interpret
control characters such as linefeed, carriage return, and end of file character (ASCII character
26) as it would when performing an ASCII comparison.


Pages:
848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
Wczasy nad morzem Restauracja Oberża PRL Fundusze Emerytalne ścianki biurowe fotele i krzesła biurowe