Batch Script - FC


Advertisements

This batch command lists the actual differences between two files.

Syntax

Fc [fileA] [fileB]

Where fileA and fileB are 2 files that need to be compared.

Example

@echo off 
FC lists.txt listsA.txt

Output

The above command will display the differences in the contents of the files (lists.txt and listsA.txt ) if any.

batch_script_commands.htm
Advertisements