Home » Questions » Computers [ Ask a new question ]

Folder comparisons in Windows with command line (under CMD.exe)

Folder comparisons in Windows with command line (under CMD.exe)

I want to compare two folders on Windows (Vista, XP) which have large number of huge files. If I use Beyond Compare or such tool to compare the folders, it is taking a lot of time if I do it manually. I need to add that folder comparison command to a batch file.

Asked by: Guest | Views: 77
Total answers/comments: 2
Guest [Entry]

Try robocopy with the /mir (mirror) and /L flags. The /L tells it to list the files without really doing the work.
Guest [Entry]

Beyond Compare can be executed from a script; its command-line syntax is extensive. I don't think every single feature in the UI is provided from the command line, but certainly everything you'd need, I think.