Hey there, I've got a script written for BC2. I want it to point at two folders, then recurse through each one and compare xml files in the similar paths.
The trees will be identical, eg.
RootFolder1 contains FolderA and FolderB
RootFolder2 contains FolderA and FolderB.
The script should do a folder comparison, taking into account only xml files. I've pasted my script below. At the moment it's not doing the comparison - if I make a change in RootFolder1\FolderA\File1.xml, it won't register as different to RootFolder2\FolderA\File1.xml.
Any suggestions?
The trees will be identical, eg.
RootFolder1 contains FolderA and FolderB
RootFolder2 contains FolderA and FolderB.
The script should do a folder comparison, taking into account only xml files. I've pasted my script below. At the moment it's not doing the comparison - if I make a change in RootFolder1\FolderA\File1.xml, it won't register as different to RootFolder2\FolderA\File1.xml.
Any suggestions?
Code:
log verbose append:projectlog%date%.txt #compare the text contents of the files criteria rules-based #only compare xml files filter "*.xml" load d:\RootFolder1 d:\RootFolder2 expand all folder-report layout:summary & options:display-mismatches,column-attributes,column-timestamp,column-size & output-to:projectreport.txt
Comment