AUTOEXEC.BAT doesn't run anymore ????

M

Michael K

Please help who knows how to fix it.

My AUTOEXEC.BAT doesn't run anymore when starting pc.
I have CLASSPATH set in there and all environment for java.
And now I can't compile java code.

The only thing I done since it stoped working it's clean Gator
stuff from my machine with Lavasoft.

So anyway, how can I make AUTOEXEC.BAT running as it was.
I have Win2000 Pro on this pc.

Thanks,
Michael
 
B

Bruce Chambers

Greetings --

Win2K doesn't normally use Autoexec.bat. An empty file of that
name exists solely to provide backwards compatibility for legacy
applications that expect the file to exist. Any environmental
settings once made in Autoexec.bat under earlier, DOS-based operating
systems, should be set by right-clicking My Computer > Properties >
Advanced > Environment Variables, or by adding the appropriate entry
to C:\System32\Autoexec.nt for the command prompt environment.

Bruce Chambers

--
Help us help you:



You can have peace. Or you can have freedom. Don't ever count on
having both at once. -- RAH
 
M

Michael K

Thanks for advise,
I already set the variables exactly same way.
Just up to yesterday my Autoexec.bat was functioning fine and fired up
startup.
And I liked it that way and really want to find the way ti get it back how
it was working,
and what is broken. And mostly how to fix it back.

Michael
 
G

Gary Smith

Michael K said:
I already set the variables exactly same way.
Just up to yesterday my Autoexec.bat was functioning fine and fired up
startup.
And I liked it that way and really want to find the way ti get it back how
it was working,
and what is broken. And mostly how to fix it back.

Open regedit, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Winlogon, and make sure that it contains a value named
ParseAutoexec of type REG_SZ with value data 1.
 
M

Michael K

Thanks Gary.
It was a good one.
Perhaps you know by chance how could I loose it, if of course I had it
before in my registry,
and this is how my Autoexec.bat was executed before.

Regards,
Michael
 
G

Gary Smith

Roedy Green said:
it only works in Win98. It is ignored in Win2k.

Not entirely. If the Parse Autoexec option is set in the registry, then
Win2K will examine autoexec.bat at startup and use the PATH and SET
statements it finds there to adjust the Windows environment.
 
J

jd

I'm interested in the line above ParseAutoexec. Does it mean these
directories are not affected by autoexec.bat? tia

ExcludeProfileDirs
Local Settings;Temporary Internet Files;History;Temp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top