Solved

Setting the PATH variable

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
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). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

743 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

14 Experts available now in Live!

Get 1:1 Help Now