Folder analysis Command-line
Top  Previous 


Syntax:

CSDiff.exe /OoutFormatOutfile [/q] [/bblanksMode] [/scomparMethod] [/i] [/IfileTypes | /XfileTypes] [/d] [/rReportDescription] BaseFolderName CmpFolderName [BaseFolderTitle CmpFolderTitle]

Parameters:

/O[outFormat][outfile] - Generate a report to the specified outputfile.
·h - Generate an HTML report in Friendly Format to outfile.htm  
·t - Generate a text output to file outfile.txt  
·x - Generate a XML report to file outfile.xml  

(If out-file is not defined, output will be opened in a CSDiff window)

/q – Do not invoke any windows. (Useful for remote activation and Web server activation.)

/bblanksMode - Choose blanksMode as follows:
I -- Ignores all blanks. As an example, a = b will compare equal to a=b.
S-- Smart – same as before (default).
D -- Detects all blanks.

/scomparMethod – Choose comparMethod as follows:
L -- perform line fragments analysis.
W -- perform analysis on word level (default).
C -- perform analysis on character level.

/i --Ignores the case of letters. As an example, A will compare equal to a.

/IfileTypes - Generate a report that includes only the specified file types (extensions)
(File types should be written in the form /I*.txt;*.exe)

/XfileTypes - Generate a report that excludes the specified file types (extensions)

/d - Perform Sub folder analysis

/r "ReportDescription" – Report definition string. The report definition string consists on the following fields: (Note: All fields are optional. Fields are concatenated and may be specified in any order.)

·C:ColNum[…] -- Specify one or more columns to report. (0 - Document name ; 1 - Document type ; 2 - Folder name ; 3 - Status ; 4 - Time modified)  
·S:ColNum[A|D] -- Column number used as the sort key (column numbers as above).  
Optionally, Specify the sort order (A - Ascending = default ; D - Descending)  
·F:From[,To] - Specify alpha-numeric filter. The filter is applied on the selected sort field.  
·H:ReportMode[...] -- Specify links to the Status column of the report.  
0 -- No links (default)  
1 -- Link to modification report for modified files and to copies of new or deleted files  
2 -- Link to modification report for modified files and to original source of new or deleted files  

BaseFolderName - Base Folder to be compared to the Compared Folder

CmpFolderName - Compared Folder

Examples:

CSDiff.exe /OtTextReport.txt C:\temp\ver10 C:\temp\ver20

CSDiff.exe /OhHtmlReport.htm /d /rC:3012S:3A C:\temp\ver10 C:\temp\ver20 BaseFolder RevisedFolder BaseFolderTitle RevisedFolderTitle