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

  • Thread starter Thread starter Michael K
  • Start date Start date
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
 
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
 
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
 
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.
 
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
 
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.
 
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
 
Back
Top