Greetings I have a batch file of 600+ lines of UltraCompare command line syntax. It used to work beautifully, but recently when I run it, if a file is not found a message box appears and tells me "is not a valid path". After looking into it I found the file didn't exist. This is an event that will happen because I have no control of the personnel providing the source files to me.
Before the command line would just skip through the error and in the output report, list the file found and not write the file missing. Then move on to the next set of files. The comparison was great because there was no user interaction.
Now there's this constant message box they see.
Is there anyway to suppress the error? Or have it logged so the message box doesn't appear? Possibly make it run like it used to?
Below is a few lines of my code. Thank you so much for looking at this. Max
Before the command line would just skip through the error and in the output report, list the file found and not write the file missing. Then move on to the next set of files. The comparison was great because there was no user interaction.
Now there's this constant message box they see.
Is there anyway to suppress the error? Or have it logged so the message box doesn't appear? Possibly make it run like it used to?
Below is a few lines of my code. Thank you so much for looking at this. Max
Code: Select all
uc -i -lt -B -b -t "E:\Output\JL1-D77BH2-24-01-93.txt" "E:\Output\JL1-D77BH2-50-33.txt" -op "E:\Reports\23_CompareKey_Results.txt"
uc -i -lt -B -b -t "E:\Output\JL1-D77BH2-20-05-93.txt" "E:\Output\JL1-D77BH2-130-93.txt" -op "E:\Reports\23_CompareKey_Results.txt"
start "UltraEdit the Model offline" "%ProgramFiles(x86)%\IDM Computer Solutions\UEStudio\UEStudio.exe" /foi "E:\Reports\23_CompareKey_Results.txt" /s,e"C:\Scripts\CleanupCompareResults.js"
uc -i -lt -B -b -t "E:\Output\JL1-D77BH2-48-01-01.txt" "E:\Output\JL1-D77BH2-07-A3.txt" -op "E:\Reports\32_CompareKey_Results.txt"
uc -i -lt -B -b -t "E:\Output\JL1-D77BH2-48-762-01.txt" "E:\Output\JL1-D77BH2-80-B1.txt" -op "E:\Reports\32_CompareKey_Results.txt"
start "UltraEdit the Model offline" "%ProgramFiles(x86)%\IDM Computer Solutions\UEStudio\UEStudio.exe" /foi "E:\Reports\32_CompareKey_Results.txt" /s,e"C:\Scripts\CleanupCompareResults.js"