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 lines to the top of the script, debug it, no need remove them, because this code will only execute when run in WinBatch Studio.
if rtStatus()==10 cmdline="-a -b 123 your command line -f" ParseData(cmdline) endif
Article ID: W14372Filename: Pass Parms to WBT while in WB Studio.txt