Forrest logo
back to the fc tool

fc:tldr:579b6

fc: Disable tab-to-space expansion.
$ fc /t ${path\to\file1} ${path\to\file2}
try on your machine

The command "fc /t ${path\to\file1} ${path\to\file2}" is used to compare the contents of two files and display the differences between them in a tabular format.

Here's a breakdown of the command:

  • "fc" stands for "File Compare", which is a Windows command-line tool used for comparing files.
  • "/t" is an option used with the "fc" command to display the differences between the files in a tabular format.
  • "${path\to\file1}" represents the path and file name of the first file that you want to compare.
  • "${path\to\file2}" represents the path and file name of the second file that you want to compare.

By executing this command, the tool will compare the contents of "file1" and "file2" and display the differences between them in a table, showing which lines are different and their respective locations in the files.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fc tool