Hello; wondering if someone can help me achieve the following:
Desired output: Compare a subset of files in folder 1, to the same subset of files in folder 2 - using the command line or a script - where it reports whether the files match
Current solution:
Iterate over an array of file paths calling the command with:
BComp.com /qc "c:/path/folder1/fileXX.txt" "c:/path/folder2/fileXX.txt"
Then checking whether the exit code indicates a match
This works ok - but is a bit slow to run as it launches multiple instances of bcomp.com terminal (one for each file in my subset)
Is there a way to check all files in one instance of bcomp.com either via a script or another command line call?
I am after a fast solution to compare a subset of files - where i only care if the overall result is match or not match
Thanks
Desired output: Compare a subset of files in folder 1, to the same subset of files in folder 2 - using the command line or a script - where it reports whether the files match
Current solution:
Iterate over an array of file paths calling the command with:
BComp.com /qc "c:/path/folder1/fileXX.txt" "c:/path/folder2/fileXX.txt"
Then checking whether the exit code indicates a match
This works ok - but is a bit slow to run as it launches multiple instances of bcomp.com terminal (one for each file in my subset)
Is there a way to check all files in one instance of bcomp.com either via a script or another command line call?
I am after a fast solution to compare a subset of files - where i only care if the overall result is match or not match
Thanks
Comment