Delete temp.internet files ecc..(newbie) 
Author Message
 Delete temp.internet files ecc..(newbie)

Is it possible to clear temp.internet files ecc..with a vbs file?
With a batch file it is necessary to end explorer.exe using
the command tskill because it blocks index.dat.
I tried the following to clear cronology etc..but surely
it isn't the ideal!

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.run "cmd /c inetcpl.cpl"
WScript.Sleep 100
WshShell.SendKeys "{TAB}"
WScript.Sleep 100
WshShell.SendKeys "c"
WScript.Sleep 100
WshShell.SendKeys "s"
WScript.Sleep 100
WshShell.SendKeys "e"
WScript.Sleep 100
WshShell.SendKeys "~"
WScript.Sleep 100
WshShell.SendKeys "f"
WScript.Sleep 100
WshShell.SendKeys "~"
WScript.Sleep 100
WshShell.SendKeys "{ESC}"



Wed, 25 May 2005 10:24:03 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Deleting Temp internet files

2. Delete all temp internet files for all users

3. How can I delete cookies and temp internet files w/VBS

4. Deleting Temp Internet files, new approach ?

5. Deleting Temp Internet Files via script

6. Deleting Temp Internet Files via script

7. deleting temp internet files through script

8. Temp Internet files check box

9. Delete cookies and temp. inet files with VBS

10. Delete temp file

11. Trying to Delete a temp file

12. Temp Files Not Deleting after closing Word 2002

 

 
Powered by phpBB® Forum Software