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

H

Hans

Is there any way to delete temporary files or cookies by using vba ocde from
excel?
 
H

Harlan Grove

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
 
Top