DOS environment size

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Hello,

Is there a way to increase the DOS environment size for DOS apps in XP
(command /E)?

Thank you.

Eric.
 
/E:nnnnn
Sets the initial environment size to nnnnn bytes.

Minimum value for n is 160 bytes, maximum is 32768, other values are ignored

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
I forgot.

Open a command prompt, type: command /? and hit Enter.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Hi Wes,

Is it possible to add in the config.nt the line:
SHELL=%SystemRoot%\system32\COMMAND.COM /E:1024

Would you know what the default size is?

Does this setting affect the CMD environment? When I start my DOS app, it
seems to launch CMD first.

Thank you for your help.

Eric.
 
Anything typed in command is sent to cmd for execution. Only programs that shell to dos to execute specific dos commands (like a dir) will command interpret the command line. EG To get a dos 5 command to execute you must use
command /k <command to execute>

command /k ver
 
Back
Top