NETKEEPER
nklin1.gif (3727 bytes)
|Home|Products|Demos|Tech Support|Top FAQ list| Help Desk Software| CRM Software|


Expanding the environment space in W95 (or W3.1)
Document ID : 000-000243 Created: 2/22/1999 Last changed on: 2/22/1999


Environment variables share a limited amount of space in the PC's memory. The amount of memory allocated to the environment variables is allocated during the BOOT (start-up) process. Often addional memory is required to accomodate many environment variables.

To increase the amount of memory allocated to environment space:

1- Use SYSEDIT or a text editor to open the PC's CONFIG.SYS file
2- Add or modify the SHELL= statement
(no spaces around the "=" sign)

Example:

To allocate 1024 bytes of memory to the environment space:

shell=c:\windows\command.com c:\windows /e:1024 /p

Notes:
1-The /e:xxxx sets how much memory is allocated to the environment space. The maximum amount of memory that can be allocated is 32768 bytes.

2-Modify the line above to include the full path to COMMAND.COM.

3-For additional information about the COMMAND.COM command type "command /?" at a DOS or command prompt (c:\ prompt). Also search the MS TechNet knowledgebase.

3-The SHELL command tells the system what command interpreter to load during startup. (The term "shell" is taken from UNIX to describe the user's operating environment; it is not related to MS-DOS Shell.) The purpose of SHELL is to allow you to use an alternative to the MS-DOS default COMMAND.COM, or to tailor how COMMAND.COM loads. If no SHELL command exists, \COMMAND.COM /P is invoked on startup.

The /P switch tells COMMAND.COM that this copy of COMMAND.COM is permanent; thus, EXIT is disabled and the environment space is initialized. Finally, if the AUTOEXEC.BAT file exists, it is processed; if not, COMMAND.COM executes TIME and DATE before presenting the drive C command prompt.


This solution text WEB page is automatically generated from your knowledge base and service data by NetKeeper Help Desk Software or NetKeeper CRM software. You can customize the pages to your site's look and feel or even include advertisements.

Powered by NetKeeper Help Desk Software
Copyright 1991-2026 Multima Corporation - Conditions of use
Contact us