Sign in to follow this  
Followers 0
kingooo

IE history

5 posts in this topic

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



#2 ·  Posted (edited)

Googled and found this

Run('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 by Varian

Share this post


Link to post
Share on other sites

Googled and found this

Run('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

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

varian :x

thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks for help

really you have more informations in computer

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0