PowerShell中编程清空IE缓存方法

2019/7/10 21:23:11

本文主要是介绍PowerShell中编程清空IE缓存方法,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

使用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



这篇关于PowerShell中编程清空IE缓存方法的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程