RunDll32.exe 来运行Internet选项的对应删除功能

阅读更多

如何清除IE缓存(Internet临时文件,Cookie,历史记录,表单记录,上网密码)?大家可以调用系统API来实现,可以使用借助RunDll32.exe 来运行Internet选项的对应删除功能。

 

比如:

Temporary Internet Files  (Internet临时文件)

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

你可能感兴趣的:(RunDll32)