【问题标题】:FC command line to compare certain files only in the foldersFC 命令行仅比较文件夹中的某些文件
【发布时间】:2014-01-03 05:55:45
【问题描述】:

我想知道如何使用批处理脚本来使用 FC 命令来比较文件夹中的某些文件。我已经完成了白名单。谢谢

【问题讨论】:

    标签: batch-file command


    【解决方案1】:

    给出当前目录下config.sys和autoexec.bat的文件对比:

    fc c:\autoexec.bat c:\config.sys 
    

    如果你想以二进制格式比较:

    fc c:\autoexec.bat c:\config.sys /b
    

    More details is here...

    【讨论】:

      【解决方案2】:
       fc /b folder1\*.cfg folder2\*.cfg
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2010-12-16
        • 2010-10-30
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-05-26
        • 2020-05-26
        • 1970-01-01
        相关资源
        最近更新 更多