Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!egsner!eric From: eric@egsner.UUCP (Eric Schnoebelen) Newsgroups: comp.sys.ibm.pc Subject: Re: Options on command.com Message-ID: <156@egsner.UUCP> Date: 4 Feb 89 01:23:15 GMT References: <1608@mace.cc.purdue.edu> <451@dcscg1.UUCP> <778@ur-cc.UUCP> Reply-To: eric@egsner.UUCP (Eric Schnoebelen) Organization: Central Iowa (Model) Railroad, Lewisville, Tx. Lines: 45 In article <778@ur-cc.UUCP> joss@uhura.cc.rochester.edu (Josh Sirota) writes: -In article <451@dcscg1.UUCP> drezac@dcscg1.UUCP (Duane L. Rezac) writes: ->In article <1608@mace.cc.purdue.edu>, by du4@mace.cc.purdue.edu (Ted Goldstein): [ writes about changing the enviroment size, and autoexec not executing... ] -> ->I also had a problem like this. Try setting the shell variable in your ->config.sys file like this.. -> shell = c:\command.com\ /e:300 /p - -Now, I know we're all just spewing out unknown info, but a LONG time ago I -was told to use: - shell = c:\command.com c:\ /p /e:300 - -The first thing is where to find the command interpreter. The first argument -is where to find autoexec.bat (I haven't experimented ...) ... WRONG!, the first argument, the path, tells command.com where to reload itself from. This way you don't have to have command.com in the root directory ( in fact, the only visible things in my root directory are config.sys, autoexec.bat, and directories... ) - the /p does -something like tell command.com that it is the top-level process so it can -process client exits nicely, and, well, we all now know what the /e is. The /p switch tell command.com that it is to be permanently resident, to ignore any exit commands, and to execute \autoexec.bat upon startup. ( /p is a busy little switch.. :) -Anyway, for the poster who's autoexec doesn't work, I suggest adding that -first argument. Won't help, the /p switch is needed.. -Josh --- -Josh Sirota -INTERNET: joss@uhura.cc.rochester.edu BITNET: joss_ss@uordbv.bitnet - sirota@cs.rochester.edu UUCP: ...!rochester!sirota -- Eric Schnoebelen egsner!eric@texbell.uucp ...!texbell!egsner!eric egs@u-word.dallas.tx.us ...!killer!u-word!egs "All this science, I can't understand; It's just my job 5 days a week"