BCompare.exe Command line参数详解_bcompare.exe 参数-CSDN博客

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

Command line executable files:(win64)

BCompare.exe

This is the main application.

BComp.exe

This is a Win32 GUI program.

BComp.com

This is a Win32 console program.

Command line parameters:

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

Parameter

Meaning

Named Session

Opens the specified session in the appropriate view.
For example:
BCompare.exe "My Session"

Named Workspace

Opens the specified saved workspace.
For example:
BCompare.exe "My Special Workspace"

Pair of folders

Opens a new Folder Compare view with the specified base folders.
For example:
BCompare.exe "C:\Left Folder" "C:\Right Folder"

Pair of files

Opens the specified files in the associated file view.
For example:
BCompare.exe "C:\Left File.ext" "C:\Right File.ext"

Script file

Automatically executes a list of commands without using a view.  
For example:
BCompare.exe "@C:\My Script.txt"

Command line switches:

Switch

Meaning

/?, /h, /help

Opens the help file to the "Command Line Reference" page.

/closescript

Closes the script window on completion.  Overrides the Close when finished setting in Tools > Options > Tweaks > Scripts.

/expandall

Expands 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, /ignoreunimportant

Turns 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.

/silent

Causes 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

Code

Meaning

0

Success

1

Binary same

2

Rules-based same

11

Binary differences

12

Similar

13

Rules-based differences

14

Conflicts detected

100

Unknown error

101

Conflicts detected, merge output not written

102

BComp.exe unable to wait until BCompare.exe finishes

103

BComp.exe cannot find BCompare.exe

104

Trial period expired

105

Error loading script file

106

Script syntax error

107

Script failed to load folders or files


原网址: 访问
创建于: 2024-12-13 12:10:12
目录: default
标签: 无

请先后发表评论
  • 最新评论
  • 总共0条评论