Using VBA in excel to how to delete temporary files or cookies

  • Thread starter Thread starter Hans
  • Start date Start date
Hans said:
Is there any way to delete temporary files or cookies by using vba ocde from
excel?

Sub foo()
Shell Environ("Comspec") & " /c del ""%TEMP%""\*.tmp"
End Sub
 
Back
Top