BCompare.exe Command line参数详解

BeyondCompare 官网地址:http://www.scootersoftware.com/v4help/

Command line executable files:(win64)

BCompare.exeThis is the main application.
BComp.exeThis is a Win32 GUI program.
BComp.comThis is a Win32 console program.

Command line parameters:

Each parameter should be enclosed in quotation marks if it might contain a space.

ParameterMeaning
Named SessionOpens the specified session in the appropriate view.
For example:
BCompare.exe "My Session"
Named WorkspaceOpens the specified saved workspace.
For example:
BCompare.exe "My Special Workspace"
Pair of foldersOpens a new Folder Compare view with the specified base folders.
For example:
BCompare.exe "C:\Left Folder" "C:\Right Folder"
Pair of filesOpens the specified files in the associated file view.
For example:
BCompare.exe "C:\Left File.ext" "C:\Right File.ext"
Script fileAutomatically executes a list of commands without using a view.  
For example:
BCompare.exe "@C:\My Script.txt"

Command line switches:

SwitchMeaning
/?, /h, /helpOpens the help file to the "Command Line Reference" page.
/closescriptCloses the script window on completion.  Overrides the Close when finished setting in Tools > Options > Tweaks > Scripts.
/expandallExpands all subfolders during the initial folder comparison.
/filters=<file masks>Uses the specified name filter for the initial folder comparison.  Separate multiple file masks with semi-colons.  Surround the name filter with quotes if it contains spaces.
/fv=<type>, /fileviewer=<type>Opens a new view of the specified type which can be any of:
   "Text Compare"
   "Text Merge"
   "Table Compare"
   "Hex Compare"
   "MP3 Compare"
   "Picture Compare"
   "Registry Compare"
   "Version Compare"
   "Folder Compare"
   "Folder Merge"
   "Folder Sync"
   "Text Edit"
   "Text Patch"
/iu, /ignoreunimportantTurns on Ignore Unimportant Differences if /automerge is present.
/qc=<type>, /quickcompare=<type>Performs a quick comparison of two files and sets the DOS error level on exit.  The specified type can be size, crc, or binary.  If a type is not specified, a rules-based comparison will be performed.  Error levels are documented below.
/silentCauses all interaction to be suppressed.  No Task Bar entry or window will be shown.  For settings packages, all settings will be imported.  For scripts, any unresolved issue that would normally show a dialog will log an error instead.
其余参数 参考网站详解

Return codes

CodeMeaning
0Success
1Binary same
2Rules-based same
11Binary differences
12Similar
13Rules-based differences
14Conflicts detected
100Unknown error
101Conflicts detected, merge output not written
102BComp.exe unable to wait until BCompare.exe finishes
103BComp.exe cannot find BCompare.exe
104Trial period expired
105Error loading script file
106Script syntax error
107Script failed to load folders or files

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值