Solved

Setting the PATH variable

Posted on 1999-01-24
1
161 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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now