How to do “diff -r” of UNIX in Windows Cmd Prompt?

后端 未结 9 1011
遥遥无期
遥遥无期 2020-12-28 14:17

How do I compare two directories on cmd prompt of Windows m/c? I want equivalent of diff -r of UNIX.

9条回答
  •  孤城傲影
    2020-12-28 15:13

    The comp command for Windows is what you're looking for.

    Here the example:

    To compare the contents of the directory C:\Reports with the backup directory \\Sales\Backup\April, type:

    comp c:\reports \\sales\backup\april 
    

提交回复
热议问题