Create toolbar shortcut to delete temp files

  • Thread starter Thread starter nickjunkinbox
  • Start date Start date
N

nickjunkinbox

Hi,

Is it possible to create a custom toolbar button/shortcut to the
'Delete temporary files' option?

I need to clear the cache regularly for dev purposes, would be nice if
I had a button within reach that would do it quickly without going into
tools/options etc etc...

or maybe there is another way?

Cheers,

Nick
 
No easy method.. Lots of ifs. You would need windows scripting installed on
your machine. There are freeware products to delete your tifs.
An easier method is to select the 'Delete Tempory Internet Files when
browser is closed' option under Security on the Advanced tab of the Internet
Options dialog.
 
Ok... Here is a registry script to create the toolbar button to open your
tifs folder


REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Internet
Explorer\Extensions\{0D377474-61A1-4023-8F11-6C734C54741D}]
"CLSID" = "{1FBA04EE-3024-11d2-8F1F-0000F87ABD16}"
"Default Visible" = "Yes"
"Icon" = "C:\\WINNT\\system32\\SHELL32.DLL,4"
"HotIcon" = "C:\\WINNT\\system32\\SHELL32.DLL,4"
"ButtonText" = "TIFs"
"Exec" = "%userprofile%\\Local Settings\\Temporary Internet Files"

(you will have to change the winnt path to suit your xp installation)

You can download my button making product (shareware) from

http://www.iecustomizer.com/iebuttonsdownload.htm

(You will see more buttons for download at the bottom of the page..
freeware.)

The important thing is to use the evironment variable %userprofile% to point
to the current users tif folder.
 
Thanks Ramesh and Rob for your suggestions, the link to automated
cleanup is is as close to this as I think Im gonna get...
 
Back
Top