How do you pass arguments to a Workbench journal from the command lines?
Pierre Thieffry
Member, Moderator, Employee Posts: 107
✭✭✭✭
I am running Workbench using runwb2.exe -R myjournal.wbjn. How can I pass arguments to the journal?
0
Answers
-
The "-E" option will help. Let's take a simple journal example. If myjournal.wbjn contains:
c=a+b
I will pass values for a and b using this:
runwb2.exe -E "a=1" -E "b=2" -R myjournal.wbjn
The "-E" option lets you pass a statement to Workbench that can be used in your journal.
0 -
Other options for runwb2.exe can be found here
0