Pass Parms to WBT while in WB Studio.txt
Keywords: param0 parameters WInBatch Studio Commandline Command line
Question:
Can I pass parameters to my script in WinBatch Studio, or do I have to compile it each time, and run it from the command line, with the parameters?Answer:
When debugging in Winbatch Studio you cannot pass parameters to the script.However this is a workaround
Add these two lines to the top of the script, debug it, then remove them prior to the production compile.
If rtStatus==10; if running in WinBatch studio cmdline="-a -b 123 your command line -f" ParseData(cmdline) Endif
Article ID: W14372Filename: Pass Parms to WBT while in WB Studio.txt