DOS environment size

E

Eric

Hello,

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

Thank you.

Eric.
 
W

Wesley Vogel

/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
 
W

Wesley Vogel

I forgot.

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

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
E

Eric

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.
 
D

David Candy

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top