Passing Variables to WB EXE

Started by weissenb, May 20, 2020, 03:32:16 PM

Previous topic - Next topic

weissenb

Hi!
I tried to pass variables to compiled WB exe but it do not work.
Even this simple example: RunWait("wbt_2.exe","%param1% %param2% %param3%")
I am not able to get work.
Source: https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Variables~and~Parameters+Passing~Variables~Between~WBT~EXEs.txt

Also I have written a BAT-file passing two variables to the WEB exe but also param0 is 0.

What do I wrong?

Thank you very much, Christian

td

Quote from: weissenb on May 20, 2020, 03:32:16 PM
Hi!
I tried to pass variables to compiled WB exe but it do not work.
Even this simple example: RunWait("wbt_2.exe","%param1% %param2% %param3%")
I am not able to get work.

Have you assigned values to the variables param1, param2, and param3?

Quote
Source: https://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Variables~and~Parameters+Passing~Variables~Between~WBT~EXEs.txt

Also I have written a BAT-file passing two variables to the WEB exe but also param0 is 0.

What do you mean by "passing two variables the the WEB exe?   A cmd.exe batch file is not able to directly pass WIL script variables and what is a WEB exe?
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

weissenb

Sorry, "WEB exe" should be WB exe (the compiled WBT).

weissenb

Thank! Indeed, I do not assigned values!
Thank you very much!

Best Regards, Christian