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 at koko.csustan.edu Turlock, CA 95380 (209) 634-6243