running WBT file from another Winbatch script

Started by bradleyjude, February 25, 2020, 07:11:01 AM

Previous topic - Next topic

bradleyjude

I have a master winbatch script that periodically checks for certain files to exist, depending on witch file is found, I want to open a specific wbt file.  Heres an example:
run("C:\Program Files\WinBatch\System\WinBatch.exe","C:\WinBatch_files\file1.wbt")
Any help would be appreciated.

Thanks!

kdmoyers

I'm guessing you get some kind of error?  Maybe post the error message.
The mind is everything; What you think, you become.

bradleyjude

Sorry--the Error is 1932 WinExec: Function Failed

td

Error 1932 has many causes.  Often the error also produces additional error information that can be read by clicking on the "More Error Infor" button located on the error message dialog.  Of course, this assumes that you are not trying to debug your script with error reporting turned off...
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

bradleyjude

I used call("C:\WBT_2020\Menu v1.wbt","") to get it to run
Thanks!!