2、istory(歷史記錄>RunDll32.exeInetCpl.cpl,ClearMyTracksByProcess1FormData<表單數(shù)據(jù))RunDll32.exeInetCpl.cpl,ClearMyTracksByProcess162/2Passwords(密碼)RunDll32.exeInetCpl.cpl,ClearMyTracksByProcess32DeleteAll<全部刪除)RunDll32.exeInetCpl.cpl,ClearMyTracksByProcess255p1EanqFDPwDeleteAll-"Alsodeletefilesand
3、settingsstoredbyadd-ons"DXDiTa9E3dRunDll32.exeInetCpl.cpl,ClearMyTracksByProcess4351RTCrpUDGiT想通過編程方式清除IE緩存,調(diào)用Win32API函數(shù)ShellExecute或者CreateProcess來執(zhí)行以上的命令行就可以了。5PCzVD7HxA例子:ShellExecute(NULL,_T("open">,_T("rundll32.exe">,_T("InetCpl.cpl,ClearMyTracksByProcess4351">,NULL,SW_SHOWNORMAL>。j
4、LBHrnAILg方法2這里還用SW_SHOWNORMAL?下面的代碼是我自己的瀏覽器中使用的。TCHARcommandLine[MAX_PATH]。GetWindowsDirectory(commandLine,sizeof(commandLine>>。lstrcat(commandLine,_T("\rundll32.exe InetCpl.cpl,ClearMyTracksByProcess4351">>。PROCESS_INFORMATIONprocInfo。STARTUPINFOstartInfo。memset(&startInfo,0,sizeof(sta
5、rtInfo>>。startInfo.dwFlags=STARTF_FORCEOFFFEEDBACK。CreateProcess(0,commandLine,0,0,FALSE,NORMAL_PRIORITY_CLASS,0,0,&startInfo,&procInfo>。xHAQX74J0X申明:所有資料為本人收集整理,僅限個(gè)人學(xué)習(xí)使用,勿做商業(yè)用途。2/2