Hi all,
Is there any way to make Windows read autoexec.bat before bootup?
The reason is because I want to DEL index.dat every time Windows boots. Yes it works in 9x because autoexec.bat is parsed, but not with Me/NT/2000 or XP.
Any ideas?
Thanks!
Printable View
Hi all,
Is there any way to make Windows read autoexec.bat before bootup?
The reason is because I want to DEL index.dat every time Windows boots. Yes it works in 9x because autoexec.bat is parsed, but not with Me/NT/2000 or XP.
Any ideas?
Thanks!
You could add a registry entry to run cmd.exe and del the file.
But registry entries are loaded when Windows has fully loaded. When Windows has fully loaded you cannot delete index.dat.
Why do you want to delete it?
Cos the file is fairly large in size and I don't want it logging all the sites I visit even after I empty the temp files.
Any ideas how to delete the file anyone?
I did a search of index.dat on my comp.
One of them almost 6 MB, I was able to delete.
The rest are of paltry size.
index.dat is for Internet Explorer, not the registry, right?
Anyway, NT+ has the special mode chkdsk or scandsk run in before going into the GUI, perhaps there's a way to run something there.
I was able to delete all index.dat files on my comp except one that was a mere 80 kb.
Panic over :)
I found a solution how to load commands in Windows NT/2000/XP before Windows boots without using autoexec.bat...
Not sure if it works with Windows Me though :(
Mind sharing?
Yeah sure :)
NT/2000/XP parse config.nt and autoexec.nt in the WINNT\SYSTEM32 folder so I just added the entries there :)
Still no luck with Me though.
Windows ME sucks anyway. ;)
DiGiTaIErRoR, out of curiosity what is your version of Windows?
Thanks
Win2k Advanced Server.
Command Prompt???
HItting F8 when starting Windows... but Windows ME doesnt have a command prompt (M$ wanted to prove that DOS was not in WinME but, they are a bunch of liar)
try using this, apparantly it starts before a lot of other stuff...
HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components\KeyName
StubPath=C:\PathToFile\Filename.exe
There is a registry item that needs to be added to 2000/XP systems to enable parsing of Autoexec.bat file.
I forgot which it is, try searching your reg or google
for ParseAutoexec
When you change its value to 1
you will then be able to use it and delete files on boot.
Regards,
Baja
The following Registry key might be useful:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
It runs tasks before Windows fully loads.