kingooo 0 Posted December 8, 2010 Hi how are you really i have many benefits from this forum therefore i will write my problem here in order to get answer for my problem. what is the code in autoit which clean history in my internet explorer Share this post Link to post Share on other sites
Varian 8 Posted December 8, 2010 (edited) Googled and found thisRun('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8') ;Delete Temporary Internet Files Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2') ;Delete Cookies Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1') ;Delete History Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16') ;Delete Form Data Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32') ;Delete Passwords Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255') ;Delete All Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351') ;Delete All – “Also delete files and settings stored by add-ons”I can confirm this runs on Windows 2008 R2 and Windows 7 both with IE8. This is supposed to work on Windows XP & Vista with IE7 Edited December 8, 2010 by Varian Share this post Link to post Share on other sites
kingooo 0 Posted December 9, 2010 Googled and found thisRun('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8') ;Delete Temporary Internet Files Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2') ;Delete Cookies Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1') ;Delete History Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16') ;Delete Form Data Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32') ;Delete Passwords Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255') ;Delete All Run('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351') ;Delete All – “Also delete files and settings stored by add-ons”I can confirm this runs on Windows 2008 R2 and Windows 7 both with IE8. This is supposed to work on Windows XP & Vista with IE7 thank you very much but i made tool that contain next codes FileDelete( @HomeDrive&"\temp\*.*") FileDelete( @WindowsDir &"\temp\*.*") FileDelete( @WindowsDir &"\prefetch\*.*") FileDelete(@UserProfileDir & "\Local Settings\Temp\*.*") FileDelete(@UserProfileDir & "\recent\*.*") FileDelete(@UserProfileDir &"\Local Settings\History\*.*") FileDelete(@UserProfileDir &"\Local Settings\Temporary Internet Files\*.*") FileDelete(@UserProfileDir &"\Cookies\*.*") but in this tool, i do not know why files in history & temporary internet files are not deleted Share this post Link to post Share on other sites
Varian 8 Posted December 9, 2010 thank you very much but i made tool that contain next codes FileDelete( @HomeDrive&"\temp\*.*") FileDelete( @WindowsDir &"\temp\*.*") FileDelete( @WindowsDir &"\prefetch\*.*") FileDelete(@UserProfileDir & "\Local Settings\Temp\*.*") FileDelete(@UserProfileDir & "\recent\*.*") FileDelete(@UserProfileDir &"\Local Settings\History\*.*") FileDelete(@UserProfileDir &"\Local Settings\Temporary Internet Files\*.*") FileDelete(@UserProfileDir &"\Cookies\*.*") but in this tool, i do not know why files in history & temporary internet files are not deleted The files in these folders are typically locked (in use) so manually deleting them may not work. The same can be true with some of the files in the Temp Folder. Share this post Link to post Share on other sites
kingooo 0 Posted December 9, 2010 varian thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks for help really you have more informations in computer Share this post Link to post Share on other sites