【问题标题】:Using Beyond Compare 3, how do I generate a report comparing two given folders and showing how many lines were changed in each files using a script使用 Beyond Compare 3,如何生成比较两个给定文件夹的报告并显示使用脚本在每个文件中更改了多少行
【发布时间】:2017-08-01 16:02:36
【问题描述】:

使用 .cmd 文件调用 .txt 文件来生成 txt 报告。试图做一个文件夹比较,但总是出现空白

【问题讨论】:

    标签: scripting beyondcompare beyondcompare3


    【解决方案1】:

    使用 file-report 脚本命令。

    load c:\folder1 c:\folder2
    expand all
    select all.files
    file-report layout:summary output-to:c:\out.txt
    

    要运行脚本,请使用命令行:

    bcompare.exe @c:\script.txt
    

    参考资料:

    Beyond Compare Help - Scripts

    Beyond Compare Help - Scripting Reference

    【讨论】:

    • 啊。我正在做一个文件夹报告。我没有意识到文件报告也可以带一个文件夹。
    • 非常感谢,我会看看打开所有不同选项后的效果。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-05-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-03-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多