Here's the scenario, for example I have list of files listed in pairing.txt. Now I am doing comparison for all the files listed then generating reports. Now, I want to have a feature that will enable the user how many files he want for one report. For example, I have 205 files listed.
FIRST 100 - Report1.html
NEXT 100 - Report2.html
Remaining 5 - Report3.html
Here my actual code
for /f "tokens=2-4" %%a in ('type c:\user\pairing.txt') do (
set /A Counter+=1
echo Processing ColumnA : %%a ColumnB: %%b
echo Processing ColumnA : %%a ColumnB: %%b >>comparison.log
%varBCpath% %varBCscript% c:\user\ColumnA\%%a c:\user\ColumnB\%%b "c:\comp\report.html" "%title%" /silent
type c:\user\report.html >> c:\user\report\Report.html
)
What it does is, It will get the files listed in pairing.txt and compare it using beyond compare. Now by default, all comparison will be displayed in 1 html report. What if I want the user to have the option to enter how many files he want to display in every html report?