execl()'ing batch files in DOS
Matthew T. Day
mday at ohs.UUCP
Wed May 17 05:34:02 AEST 1989
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 | |
+------------------------------------------------+-------------------------+
More information about the Comp.lang.c
mailing list