Hi,
Can anyone tell me if it's possible to load a saved session to run in my batch scripts?
For example, I have a session called "Ignore_NULL", which ignores all "NULL" strings in a file compare. This works fine when I do a manual file compare in an open Beyond Compare session, i.e. via the front end app. However, I have most of my compares saved as scripts which I run as a batch file. How do I load my "Ignore_NULL" settings into these?
If I append "/iu" it doesn't seem to work, I guess I need to specify which session I want to run in the script. I tried:
load "Ignore_NULL"
But this gave me an error, saying load session on applies to folder compares.
My example script "Side_By_Side":
file-report layout:side-by-side &
options:display-mismatches &
output-to:%3 %1 %2
Then my batch file to call it is:
"C:\BeyondCompare\BCompare.exe" @"C:\BeyondCompare\Side_By_Side.txt" "C:\BeyondCompare\LeftFile.csv" "C:\BeyondCompare\RightFile.csv" "C:\BeyondCompare\Report.txt" /iu
Basically I just want to be able to run the same session ignore settings in batch / command line mode.
Thanks in advance!
Can anyone tell me if it's possible to load a saved session to run in my batch scripts?
For example, I have a session called "Ignore_NULL", which ignores all "NULL" strings in a file compare. This works fine when I do a manual file compare in an open Beyond Compare session, i.e. via the front end app. However, I have most of my compares saved as scripts which I run as a batch file. How do I load my "Ignore_NULL" settings into these?
If I append "/iu" it doesn't seem to work, I guess I need to specify which session I want to run in the script. I tried:
load "Ignore_NULL"
But this gave me an error, saying load session on applies to folder compares.
My example script "Side_By_Side":
file-report layout:side-by-side &
options:display-mismatches &
output-to:%3 %1 %2
Then my batch file to call it is:
"C:\BeyondCompare\BCompare.exe" @"C:\BeyondCompare\Side_By_Side.txt" "C:\BeyondCompare\LeftFile.csv" "C:\BeyondCompare\RightFile.csv" "C:\BeyondCompare\Report.txt" /iu
Basically I just want to be able to run the same session ignore settings in batch / command line mode.
Thanks in advance!
Comment