simon@ms.uky.edu (Simon Gales) (01/30/89)
I asked this before, and have received only requests for what I find out. So I ask again, since many of us are interested, just what are the options on command.com (besides /c, /e)? I think I remember an undocumented /f option, but I forgot what it did and its syntax. I know there are more that are undocumented, does anyone know what they are? -- /------------------------------------------------------------------------\ Simon Gales@University of Ky {rutgers, uunet}!ukma!simon - simon@ms.uky.edu - simon@UKMA.BITNET
du4@mace.cc.purdue.edu (Ted Goldstein) (02/03/89)
I recently tried using the /e: switch on command.com to increase the enviroment space on my Zenith 248. This worked fine, but now my autoexec doesn't execute. I tried using /c autoexec and then it would run, but a prompt never appeared when it was done. I am using MS-DOS 3.3 Plus that came with the Zentih 248. any ideas? suggestions? Thank you in advance! du4@mace.cc.purdue.edu Ted Goldstein Purdue University School of Technology
drezac@dcscg1.UUCP (Duane L. Rezac) (02/03/89)
From article <1608@mace.cc.purdue.edu>, by du4@mace.cc.purdue.edu (Ted Goldstein): > > I recently tried using the /e: switch on command.com to increase > the enviroment space on my Zenith 248. This worked fine, but now my > autoexec doesn't execute..... > Ted Goldstein > Purdue University School of Technology 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 This seemed to solve the problem for me -- +-----------------------+---------------------------------------------------+ | Duane L. Rezac |These views are my own, and NOT representitive of | | dsacg1!dcscg1!cpp90221|my place of Employment. | +-----------------------+---------------------------------------------------+
joss@uhura.cc.rochester.edu (Josh Sirota) (02/04/89)
In article <451@dcscg1.UUCP> drezac@dcscg1.UUCP (Duane L. Rezac) writes: >From article <1608@mace.cc.purdue.edu>, by du4@mace.cc.purdue.edu (Ted Goldstein): >> I recently tried using the /e: switch on command.com to increase >> the enviroment space on my Zenith 248. This worked fine, but now my >> autoexec doesn't execute..... > >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 ...) ... 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. A couple of things. On my machine (which is still running MS-DOS 3.1, sigh) the environment size argument is in PARAGRAPHS (16 bytes), not bytes. If I try anything as big as 300, it doesn't work. So if this doesn't work for you, try 32 instead of 300 or so. On MY machine, I needed the spaces around the /p and /e ... this isn't consistent with DOS conventions, but it didn't work without them. Anyway, for the poster who's autoexec doesn't work, I suggest adding that first argument. Josh -- Josh Sirota INTERNET: joss@uhura.cc.rochester.edu BITNET: joss_ss@uordbv.bitnet sirota@cs.rochester.edu UUCP: ...!rochester!sirota
eric@egsner.UUCP (Eric Schnoebelen) (02/04/89)
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"
prc@maxim.ERBE.SE (Robert Claeson) (02/05/89)
In article <451@dcscg1.UUCP>, drezac@dcscg1.UUCP (Duane L. Rezac) writes: > From article <1608@mace.cc.purdue.edu>, by du4@mace.cc.purdue.edu (Ted Goldstein): > > I recently tried using the /e: switch on command.com to increase > > the enviroment space on my Zenith 248. This worked fine, but now my > > autoexec doesn't execute..... > 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 If you don't, and types "EXIT" at the DOS prompt, strange things will happen... Robert P.S. Why does the space bar on my IBM AT-3 keyboard bounce? -- Robert Claeson, ERBE DATA AB, P.O. Box 77, S-175 22 Jarfalla, Sweden "No problems." -- Alf Tel: +46 758-202 50 EUnet: rclaeson@ERBE.SE uucp: uunet!erbe.se!rclaeson Fax: +46 758-197 20 Internet: rclaeson@ERBE.SE BITNET: rclaeson@ERBE.SE
du4@mace.cc.purdue.edu (Ted Goldstein) (02/06/89)
> > I recently tried using the /e: switch on command.com to increase >the enviroment space on my Zenith 248. This worked fine, but now my >autoexec doesn't execute. I tried using /c autoexec and then it would Thank you all for answers to my question. Several people pointed out that what I need is the /p switch also and then autoexec will run. du4@mace.cc.purdue.edu Ted Goldstein Purdue University School of Technology