Run this in the CMD shell or batch file:
FC file1 file2
FC
can also be used to compare binary files:
FC /B file1 file2
More Related Contents:
- Variables are not behaving as expected
- Single line with multiple commands using Windows batch file
- Batch file to delete files older than N days
- How do I measure execution time of a command on the Windows command line?
- Windows Batch Variables Won’t Set
- Where is “START” searching for executables?
- Escape double quotes in parameter
- windows batch SET inside IF not working
- Why git can’t remember my passphrase under Windows
- Batch files: List all files in a directory with relative paths
- Windows batch script to parse CSV file and output a text file
- Using parameters in batch files at Windows command line
- How to run a command on command prompt startup in Windows
- Convert a small PS script into a long line in a .BATch file
- Special Characters in Batch File
- Delete files or folder recursively on Windows CMD
- Batch to remove duplicate rows from text file
- How to count no of lines in text file and store the value into a variable using batch script?
- How to test if a path is a file or directory in Windows batch file?
- How can I open a cmd window in a specific location?
- Split string with string as delimiter
- How to disable Hyper-V in command line?
- How to change Screen buffer size in Windows Command Prompt from batch script
- Delete all files and folders in a directory
- windows cmd: problems with for /f with a quoted command with quoted parameters
- How to read input from console in a batch file?
- Batch goto loses errorlevel
- Escape percent signs in given variables
- Out of a git console: how do I execute a batch file and then return to git console?
- UTF-16 to UTF-8 conversion (for scripting in Windows)