Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Why am I getting a "Call" error when I'm trying to launch WinBatch from Another Application?

 Keywords:   call 
 

Question:

I want to call a WinBatch script for a program I use. The program will allow me to configure a menu item to run an executable, but it wont run a file, based on the association Windows has for it's extention.

So I have this:

C:\Program Files\WinBatch\System\WinBatch.exe Winbatcfile.wbt 
and I get an error saying the "Call" failed, but I am not using a CALL command anywhere. It also substitutes the following: "," instead of spaces in my long file names when it shows the command the error occurred on in the error message dialog. By the way, the quotes are included in the substitution. Do you know what is going on here.

Answer:

I don't think the program you are trying to call WinBatch from is doing a good job with the long file names. Try...
C:\Progra~1\WinBatch\System\WinBatch.exe Winbatcfile.wbt 

Article ID:   W12966
Filename:   Call Error when Launching WB from another App.txt