Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!dogie.macc.wisc.edu!csd4.milw.wisc.edu!bionet!ames!vsi1!ubvax!lll-winken!csustan!koko!jb From: jb@CSUStan.EDU (John Birchfield) Newsgroups: comp.lang.c Subject: Re: execl()'ing batch files in DOS Message-ID: <1073@koko.CSUStan.EDU> Date: 18 May 89 04:17:36 GMT Reply-To: jb@koko.csustan.edu.UUCP (John Birchfield) Distribution: usa Organization: Calif. State Univ., Stanislaus, Turlock, Ca Lines: 14 I have used spawnv () to execute bacth files from DOS in the following manner... char *Argv [] = { "command", "/C", "testbat", 0 }; spawnv (P_WAIT, "c:\\command.com", Argv); I'm not sure but I think that execl () would work more or less the same. - - === === John Birchfield 1575 Quail Ct. jb@koko.csustan.edu Turlock, CA 95380 (209) 634-6243