ManualClear the IE cache (Temporary Internet Files, cookies, history records, form records, and Internet password). You can use the "Internet Options" Control Panel (for example.
If you wantCommand LineTo clear the iebuffer, you can use rundll32.exe to run the corresponding functions of Internet Options.
For example:
Temporary Internet Files (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 (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
Want to passClear ie by programmingCache, call the Win32 API function ShellExecute or CreateProcess to execute the preceding command line.
Example:
ShellExecute (null, _ T ("open"), _ T ("rundll32.exe"), _ T ("inetcpl. CPL, clearmytracksbyprocess 4351"), null, sw_shownormal );