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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
This is Dos memory problem. Just have to set your configuration in Config.sys then sure can sove your problem.
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.