SET PATH problem

Hi for everyone,

I run a simple script in a BAT file.
On a command


I get an error 'Out of environment space'. Does anybody know what tuning I need to do to fix the problem?

Thanx for any help/advice.
Who is Participating?
GleasonGuyConnect With a Mentor Commented:
That is all DOS stuff. I think it still works, but you can do it all from windows.

Right-click on the MSDOS shortcut and select Properties. Select the Memory tab and then increase the Initial Environment combo box to a higher value.

You can also change some of the other settings from Auto to a specified value. I don't think that you need to do this to resolve your problem though.
you need to use the shell command in your config.sys file if you wish to increase the environment space.  the default is 256 characters in the environment space, and every character you see when you use the set command from the prompt is a character in the environment.  to increase the environment space to 1024 characters, place the following line near the bottom of the config.sys file:

shell = c:\ /p /e:1024

if the line is already present, change to /e:2048.

warning!  before using, make sure that the file is in the c: root directory.  if it is not, modify the shell to show where the location is.

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

good luck!
This is Dos memory problem. Just have to set your configuration in Config.sys then sure can sove your problem.
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

cedric80, Welcome To Experts Exchange!

It is customary to not take a previousley posted comment as an Answer.
bekaye gave this as his comment earlier and instructed EXCATLY how to fix it in the config.sys file. I gave a solution for fixing it directly from the Windows GUI.

Also, It is customary to not Answer a question unless you are 120% sure it will completely address the question. When the question is answered, it gets moved into the Locked Section, thus reducing the potential responses.

If you post your response as a comment, then the question gets more visibility in the Unanswered Section. If the asker feels that your comment is an appropriate response for their question they have the ability of accepting it as an answer and awarding you the points.

tulin, please reject Cedric80's answer and let us know the status of your problem. If either my or bekeye's solution solved your problem you should award us the points.
tulinAuthor Commented:
Thank you experts,
next few days I will notify you about status of the problem...
tulinAuthor Commented:
Thank  you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.