• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Why can't I access autoexec.bat in W2K as administrator?

Felecha

Golden Member
Just installed W2K for the first time. Lots to learn.

I wanted to set the Java classpath, but W2K won't let me edit autoexec.bat, even though I log in as Administrator.

???

 
You can change the permissions if you like by right-clicking on the file and hitting Properties, but Win2k does not need autoexec.bat. You should change the environment variables in Control Panel|System|Advanced.
 
Originally posted by: Felecha
Just do there what I would do in autoexec?

Classpath = .;c:\j2sdk1.4.0\bin ??

Thanks

F

Close. I get into it by right clicking on the Computer on the desktop, choosing properties and then the Advanced Tab. There is a button called "Environment Variables".

When you click it, it opens a window with two sections. The upper section is specific to the user you are logged in as. The lower section is specific to the machine (read will affect every user on the machine).

In there, you will find a classpath entry. Modify it the way you normally would.

 
also, U shouldn't need to include . in the path.... not in windows... and not a good idea in unix security wise...
 
Back
Top