Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!tank!eecae!upba!dsndata!unocss!ho@fergvax.unl.edu From: ho@fergvax.unl.edu (Michael Ho) Newsgroups: comp.sys.ibm.pc Subject: Re: Executing .BAT files Message-ID: <854@unocss.UUCP> Date: 20 Jun 89 14:41:22 GMT References: <584@megatek.UUCP> Sender: news@unocss.UUCP Reply-To: ho@fergvax.unl.edu Distribution: na Lines: 12 From article <584@megatek.UUCP>, by hollen@zeta.megatek.uucp (Dion Hollenbeck): > the /c switch followed by the name of the EXE or BAT file. Command.com > will then be able to search for the EXE or BAT and either program > load or batch process as appropriate. I think you can also use the system() call to do it -- the system() basically passes a command line to the shell. Whether it does it with spawn() or with the evil undocumented interrupt, I don't know. --- Michael Ho, University of Nebraska For the next 60 lines, we will be conducting a test of the emergency