Re: PC DOS 4GL
Posted in 1992
In article <503@rhlab.UUCP> kuhn@rhlab.UUCP (mjk Michael Kuhn) writes: >When using the "run" command in 4gl application > that executes a .bat file > that does > set DBPRINT=lpt1 > 4glprog parm1 parm2 parm3 > >I get this error message > Spawn failed: no such file or directory >Anybody have any idea where this comes from? RUN can only handle actual executables. You *may* be able to run it by running "COMMAND /someswitch 4glprog parm1 parm2 parm3" (since command.com is the actual executable you want to run; I think some switch tells it to go run a batch file and exit). Make sure your RUNned 4gl program doesn't switch or close databases... >When the batch file is run standalone error does not appear. The >error seems to occur immediately after the return from the "run >command". >-- >Michael J. Kuhn Consultant phone:410-254-7060 >Email: rhlab!kuhn@uunet.uu.net or uunet!rhlab!kuhn > c/o Baltimore Rh Typing Laboratory, Inc. phone:410-225-9595 -- Alan Denney aland@informix.com {pyramid|uunet}!infmx!aland Our children call him "Daddy"; they refer to me as "Sir" In all our family pictures he is standing next to her For Christmas he bought her a pair of handcuffs and a whip Sometimes I think it's put a strain on our relationship -- "He's Just a Friend", Austin Lounge Lizards