You could also consider using another, also built-in, command, FC
. It can perform binary comparison (you need to specify the /B
switch: FC /B file1 file2
), which seems closer to what COMP
does, although the results are still displayed in a different format.
Anyway, it doesn't prompt you for more files to compare, it just does the job and terminates.