Solved

Setting the PATH variable

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

773 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