Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!apple!agate!darkstar!ucscb.UCSC.EDU!noesis From: noesis@ucscb.UCSC.EDU (60276000) Newsgroups: comp.os.msdos.programmer Subject: Re: EXEC'ing command.com /p Keywords: command.com, DOS, EXEC Message-ID: <9955@darkstar.ucsc.edu> Date: 11 Dec 90 01:51:09 GMT References: <3-D^-&%@rpi.edu> Sender: usenet@darkstar.ucsc.edu Organization: University of California, Santa Cruz; Open Access Computing Lines: 5 try "exec command.com /p /c autoexec.bat"; the /c will force command to execute the autoexec.bat file. probably want to change to the dir w/ autoexec in it as a primary spawn will ignore anything in the current environment.