I am developing a batch process to run compares on several folders each independently. I then scan the report for mismatches and use results from that to flag errors. It all runs fine, except my compares do not ignore unimportant differences.
When I use BC GUI and load my session, it runs fine tagging files correctly with wavey equal sign. Running in batch unattended it shows those same files as mismatches.
I created my own myASP, myTxt, myXML file formats moved them to the top and added grammer rules to exclude differences in files like time stamps in comments and server names. These things are not being ignored in batch, but are in GUI.
I feel I am close.
I start BC using this:
"D:\Program Files (x86)\Beyond Compare 3\BComp.com" "@myScript.txt"
And my script looks like this:
log verbose "D:\apps\Logs\Common\Shr_Compare_Prod1_to_Prod2_ML Rate_Ratesheet_Script.log"
load <default>
load "PROD1 <--> PROD2 FTPRoot\MLRate_Ratesheet"
filter "*.asp";"*.xml";"*.txt"
compare rules-based
criteria rules-based
folder-report layout:side-by-side &
options:display-all &
output-to:"D:\apps\Logs\Common\Shr_Compare_Prod1_to_Prod2 _MLRate_Ratesheet_Report.txt"
When I use BC GUI and load my session, it runs fine tagging files correctly with wavey equal sign. Running in batch unattended it shows those same files as mismatches.
I created my own myASP, myTxt, myXML file formats moved them to the top and added grammer rules to exclude differences in files like time stamps in comments and server names. These things are not being ignored in batch, but are in GUI.
I feel I am close.
I start BC using this:
"D:\Program Files (x86)\Beyond Compare 3\BComp.com" "@myScript.txt"
And my script looks like this:
log verbose "D:\apps\Logs\Common\Shr_Compare_Prod1_to_Prod2_ML Rate_Ratesheet_Script.log"
load <default>
load "PROD1 <--> PROD2 FTPRoot\MLRate_Ratesheet"
filter "*.asp";"*.xml";"*.txt"
compare rules-based
criteria rules-based
folder-report layout:side-by-side &
options:display-all &
output-to:"D:\apps\Logs\Common\Shr_Compare_Prod1_to_Prod2 _MLRate_Ratesheet_Report.txt"
Comment