beyond compare 命令行调用方法

时间:2022-11-09 21:51:17

bat:

set "TOOLS=C:\Program Files\Beyond Compare 3"
"%TOOLS%\BComp.com"  /silent @D:\debug\bc\test.txt D:\debug\bc\FOLD1 D:\debug\bc\FOLD2 D:\debug\bc\BCompare.HTML

 

test.txt:

load "%1" "%2"
compare binary
expand all
folder-report layout:side-by-side title:compare output-to:"%3" output-options:html-color

 

详细参数介绍参见安装目录下的手册:

C:\Program Files\Beyond Compare 3\BCompare.chm

 

 

参考:

使用命令行调用Beyond Compare进行文件对比 :http://www.cnblogs.com/lianyonglove/articles/697316.html   Beyond Compare脚本:命令行批量比较文件并生成html格式的差异报告:http://www.cnblogs.com/xiaoL/p/3756629.html   Beyond Compare强大的脚本功能: http://www.tektea.com/archives/1105.html  

Using Beyond Compare with Version Control Systems:http://www.scootersoftware.com/support.php?zz=kb_vcs