Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!iconsys!ohs!mday From: mday@ohs.UUCP (Matthew T. Day) Newsgroups: comp.lang.c Subject: execl()'ing batch files in DOS Keywords: batch, execl, dos Message-ID: <302@ohs.UUCP> Date: 16 May 89 19:34:02 GMT Lines: 12 Does anybody know if it's possible to execl() a batch file in DOS? I am using MicroSoft C v5.1, and using MS-DOS v3.30. I have tried: execl("\command.com", "tryit.bat", NULL); and perror() tells me "No such file or directory." Any help or input would be appreciated. -- +------------------------------------------------+-------------------------+ | UUCP: ...!uunet!iconsys!ohs!mday (Matthew Day) | "He who laughs, lasts." | | USMAIL: Orem H.S., 175 S 400 E, Orem, UT 84058 | | +------------------------------------------------+-------------------------+