【问题标题】:In Powershell, what's the quickest way to tell if two files are different?在 Powershell 中,判断两个文件是否不同的最快方法是什么?
【发布时间】:2011-03-28 12:41:24
【问题描述】:

给定两个文件(在本例中为较大的 CSV 文件),Powershell 中确定其内容是否不同的最有效方法是什么?

【问题讨论】:

    标签: scripting powershell


    【解决方案1】:

    有一个dos命令可以做到这一点

    comp.exe 1.txt 2.txt
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-02-13
      • 1970-01-01
      • 2012-10-05
      • 2011-01-31
      • 2010-11-24
      • 2023-03-16
      • 2018-05-14
      • 2020-05-04
      相关资源
      最近更新 更多