Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: SHELL=in config.sys->File Creation Error @ boot  (Read 6028 times)

0 Members and 1 Guest are viewing this topic.

cappy2112

  • Guest
SHELL=in config.sys->File Creation Error @ boot
« on: July 22, 2004, 06:11:26 PM »
In Windows 98, I've added  

SHELL=C"\command.com /E:1024

to Config.sys.

When I  boot to Windows 98 , the splash screen appears very briefly, the boot process stops at the
C:> prompt, and File Creation Error" is displayed.

IF I remove the SHELL= line from config.sys, the error goes away.


If I boot straight to DOS (via F8), this doesn't happen.

What is causing this ?

I need to expand my environment
« Last Edit: July 22, 2004, 06:38:45 PM by cappy2112 »

2k dummy

  • Guest
Re: SHELL=in config.sys->File Creation Error @
« Reply #1 on: July 22, 2004, 09:25:04 PM »
The SHELL= should only be used if you intend to use a command interpreter other than command.com. When you boot to windows, W98 looks to the copy of command.com located in C:\windows. An old DOS method to expand the environment is to use the SET command in config.sys or autoexec.bat. I haven't used it with windows because I have had no need, but there is no reason that it shouldn't work.

SET COMSPEC = C:\WINDOWS\COMMAND.COM /E:1024

If you are running a DOS program from inside a windows DOS box, create a shortcut to it and you can set any memory requirements from the properties dialog box under the memory tab, including the initial environment space. Most of the time these settings are best left set to auto.