Fc Command In Windows Server 2008
This article explains the Fc command in Windows Server 2008 operating system and also explains its syntax.
Fc command is used to compare two files against each other. When the comparison is completed Fc will return lines that differ between the files, if no lines differ user get a message indicating no differences encountered. Syntax for Fc command is given below.
fc /a [/c] [/l] [/lb<N>] [/n] [/off[line]] [/t] [/u] [/w] [/<NNNN>] [<Drive1>:] [<Path1>]<FileName1> [<Drive2>:] [<Path2>]<FileName2>
fc /b [<Drive1>:] [<Path1>]<FileName> [<Drive2>:] [<Path2>]<FileName2>
Parameters For Fc
||Abbreviates the output of an ASCII comparison.
||Compares the two files in binary mode.
||Ignores the letter case.
||Compares the files in ASCII mode.
||Sets the number of lines for the internal line buffer to N.
||Displays the line numbers during an ASCII comparison.
||Does not skip files that have the offline attribute set.
||Prevents Fc from converting tabs to spaces.
||Compares files as Unicode text files.
||Defines the number of consecutive lines that must match following a mismatch.
||Defines the location and name of the first file or set of files to compare.
||Defines the location and name of the second file or set of files to compare.
||Compresses white space during the comparison.
||Shows help at the command prompt.
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here