Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting the PATH variable

Posted on 1999-01-24
1
Medium Priority
?
173 Views
Last Modified: 2013-12-16
Hi!
I have problems setting the PATH environment variable in autoexec.bat
It includes the following code:

(...)
set JAVA_HOME=C:\JDK1.2
set CLASSPATH=.;%JAVA_HOME%\lib\classes.zip;%JAVA_HOME%\ibmjs\lib\ibmjs.jar
set PATH=%PATH%;%JAVA_HOME%\bin;%JAVA_HOME%\ibmjs\lib
(...)

Setting PATH like this results in an error message NOT ENOUGH ENVIRONMENT SPACE (or something like this - the original message is in German).

Does anybody know the reason for this?

Thanks,

Torsten
0
Comment
Question by:torstenr
1 Comment
 
LVL 2

Accepted Solution

by:
Laphroaig earned 400 total points
ID: 1761759
You can set the environment size in Config.sys by using the /E switch after the shell command for Command.com

SHELL=COMMAND.COM /E:1024 /P

The /E:1024 assigns 1kb to the environment size which is the default. Change it to /E:2048 to double it to 2Kb which should be plenty. Make sure that you use the /P switch at the end otherwise the machine could lock up under certain circumstances.

Type the command as shown above but changing the size in 1KB chunks as necessary.

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question