Solved

Setting the PATH variable

Posted on 1999-01-24
1
166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

738 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