:===================================================================== : 'Diff Doc' (DiffDoc) Comparing Folders by Command Line. : (WWW.SoftInterface.COM) : : Find the example closest to your needs and modify accordingly. : EXAMPLES 1 - 3, Folder Comparison : EXAMPLE 1 (Compare 2 Folders) : EXAMPLE 2 (Compare 2 Folders with subfolders) : : NOTE: For long file paths use double quotes, : i.e. /L"D:\Long Path\" : :=====================================================================
:---------------------------------------------------------------------- : EXAMPLE 1 (Compare 2 Folders) : : The /D switch is specified to tell ‘Diff Doc to compare folders : /V tells Diff Doc to report any errors in a verbose fashion. : /U Tells Diff Doc which extensions to compare. Leave blank to compare all : /T Tells Diff Doc where to save the tab delimited report file. : /X tells Diff Doc to exit upon completion :---------------------------------------------------------------------- DiffDoc /D /S"E:\delme\Compare1" /M"E:\delme\Compare2" /U*.DOC /T"C:\output\Report.CSV" /V /X
:---------------------------------------------------------------------- : EXAMPLE 2 (Compare 2 Folders and subfolders) : Exactly like Example 1, however this time the /C switch is used : to tell ‘Diff Doc’ to compare the subfolders as well : :---------------------------------------------------------------------- DiffDoc /D /S"E:\del\Compare1" /M"E:\del\Compare2" /U”*.HTM *.HTML” /T"C:\output\Report.CSV" /V /C /X
|