.NET ez 2012-06-04
嘗試了很多方式想要清除 Temporary Internet Files,但因為安全性無法列出所有檔案,所以無法清除!
其實只需利用 RunDll32.exe 即可達成刪除 快取 及 Cookie。
Temporary Internet Files
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8
Cookies
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2
History
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1
Form Data
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16
Passwords
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32
Delete All
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
Delete All – “Also delete files and settings stored by add-ons”
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351
標籤: .NET
本文章網址:
https://www.ez2o.com/Blog/Post/csharp-Clear-IE-Cache-Cookie
https://www.ez2o.com/Blog/Post/190
https://www.ez2o.com/Blog/Post/csharp-Clear-IE-Cache-Cookie
https://www.ez2o.com/Blog/Post/190