MattX Posted April 18, 2005 Share Posted April 18, 2005 Before I even make a start has anyone ever managed to delete this file from within a script. As its a locked file and can only be removed via special software or by booting into safemode I'm wondering if its at all possible.... Link to comment Share on other sites More sharing options...
MarkMarkMark Posted April 18, 2005 Share Posted April 18, 2005 It doesnt work with Filedelete? Link to comment Share on other sites More sharing options...
JSThePatriot Posted April 18, 2005 Share Posted April 18, 2005 Before I even make a start has anyone ever managed to delete this file from within a script. As its a locked file and can only be removed via special software or by booting into safemode I'm wondering if its at all possible....<{POST_SNAPBACK}>Where is this file? I will see what I can come up with.JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
MattX Posted April 18, 2005 Author Share Posted April 18, 2005 (edited) Where is this file? I will see what I can come up with.JS<{POST_SNAPBACK}>On a Windows 9x computer these files are located in the following locations:\WINDOWS\Cookies\index.dat\WINDOWS\History\index.dat\WINDOWS\Temporary Internet Files\index.dat\WINDOWS\Cookies\index.dat\WINDOWS\History\index.dat\WINDOWS\Temporary Internet Files\index.dat In Windows 2000 and Windows XP there are several "index.dat" files in these locations:\Documents and Settings\<Username>\Cookies\index.dat\Documents and Settings\<Username>\Local Settings\History\History.IE5\index.dat\Documents and Settings\<Username>\Local Settings\History\History.IE5\MSHist012001123120020101\index.dat\Documents and Settings\<Username>\Local Settings\History\History.IE5\MSHist012002010720020114\index.dat\Documents and Settings\<Username>\Local Internet Files\Content.IE5\index.dat Edited April 18, 2005 by MattX Link to comment Share on other sites More sharing options...
MHz Posted April 18, 2005 Share Posted April 18, 2005 Cleaning the Internet options, cleans the index.dat. Untested script for XP Pro: Run('control inetcpl.cpl') WinWait('Internet Properties') ControlClick('Internet Properties', '', 'Button6') WinWait('Delete Cookies') ControlClick('Delete Cookies', '', 'Button1') If Not WinWaitActive('Internet Properties') Then WinActivate('Internet Properties') ControlClick('Internet Properties', '', 'Button7') WinWait('Delete Files') ControlClick('Delete Files', '', 'Button2') If Not WinWaitActive('Internet Properties') Then WinActivate('Internet Properties') ControlClick('Internet Properties', '', 'Button10') WinWait('Internet Options') ControlClick('Internet Options', '', 'Button1') WinWait('Internet Properties') ControlClick('Internet Properties', '', 'Button15') Link to comment Share on other sites More sharing options...
Scottswan Posted April 18, 2005 Share Posted April 18, 2005 This can also be done with a 'winstart.bat' file in the root of C: on Win9x.Here is some info on that and some tips for other OS's.... http://www.imilly.com/winclean.htm-Scott Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now