Contents 

Compare Suite - Quick Start
New Features in Compare Suite
Compare Suite
On-Line
Functions
Running Compare Suite
Command Line
Integration Manager
Simple Running
Drag-and-drop
Comparison
File Comparison
Comparison Principle
Comparison Plugins
Compare by Keywords
My Interest Group
Folder Comparison
Merge
Merge Files
Merge Plain Text
Report Generating
Reports for file comparison
Standard Report
Reports folder comparison
Standard Report
Full Report
Advanced Report
Highlighting
Interface
Common View
Toolbar
Program Menu
Comparison Options
File Comparison
File Color Scheme
By Keywords Comparing - Color Scheme
By Keywords Comparing - Special Words
Comparison Types and Methods
My Interest Group options
Keywords Ignoring
Folder Comparison
Folder Color Scheme
Plugins
MS Office Word Plugin
MS Office Excel Plugin
Web Plugins .htm and .html
Adobe Acrobat .pdf plugins
Binary Plugins
Zip Archive
About Dialog
Comment changed files
Status Bar
Info Panel
Keywords Tree
License
Installing/Uninstalling
Compare Suite - Solutions
Industry and job related solutions
Ways to use Compare Suite. Usage solutions.
Basic features and benefits
Compare Suite - Common Product Issues
Problems or questions concerned application
Installation issues
Ordering issues
Integration issues
Product upgrades
Support issues
Compare Suite - Support Service
AKS Support Service

Compare Suite - Online Manual

Prev Page Next Page

Running Compare Suite with command line

Introduction - Functions - Interface

Command line syntax for Compare Suite

CompareSuite.exe {file1 file2 | folder1 folder2} [/report:<report_name> [/type:{std|full|adv}]]

Where:
file1, file2 -- full path to the file
folder1, folder2 -- full path to the folder
report_name -- full path to the report to be created
{std|full|adv} -- report type (standard, full, advanced). For file report this switch has no meaning, because standard one is always used. If omitted, standard supposed 

Error is given to the user in case:
- one of the files/folders not found
- user specified one file and one folder

Comments:
0. Even started from command line Compare Suite loads options from .ini file. So, before running it one may edit it manually.
1. /report switch can be shortened to /r /type switch can be shortened to /t (e.g. /t:std) 
2. If /report is specified there MUST be either two file or two folders specified
3. If /report (or /r) is specified, no GUI will be created!
4. If no extension is specified for report name, .html is appended. If there is any other extension, it will left unchanged
5. If folder for report name is not exist, it will be created
6. "-" and "/" can be used as delimiters. I.e. -report and /report means the same 
7. Letter case doesn't matter
8. Switches other than /r and /report ignored
9. Only first two paths are matter, the rest are ignored
10. Destination report files will be overwritten without confirmation
11. The order of parameters and switches doesn't matter. I.e. the following are valid examples:

CompareSuite.exe /r:C:\some.html c:\file1.txt c:\file2.txt
CompareSuite.exe c:\file1.txt c:\file2.txt /r:C:\some.html 
CompareSuite.exe c:\file1.txt /r:C:\some.html c:\file2.txt

Folder synchronization

The latest version of Compare Suite supports folders synchronization.

Find below some samples on running synchronization with command line:

-action:sync -LDir:"h:\left_dir -RDir:"h:\right_dir" -direction:all -collision:Replace

where:
-action:sync - is switch which indicates that there are parameters for folder synchronization;
-LDir: and -RDir: - are folders to be synchronized
-direction:all - the direction of synchronization, possible values are:

  • all - bidirectional;
  • R2L - from right to left;
  • L2R - from left to right
-collision:Replace - the action the program should perform in a case of collision, possible parameters:
  • Replace - will replace files accordingly to synchronization direction;
  • RIfNewIsNewer - replace if the file to be replaced with is newer than file to be replaced;
  • RIfNewIsOlder - replace if the file to be replaced with is older than file to be replaced;
  • None - do nothing if there is a collision
   
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)