午夜国产狂喷潮在线观看|国产AⅤ精品一区二区久久|中文字幕AV中文字幕|国产看片高清在线

    清理IE和使用歷史記錄的bat代碼
    來(lái)源:易賢網(wǎng) 閱讀:795 次 日期:2014-10-08 13:22:32
    溫馨提示:易賢網(wǎng)小編為您整理了“清理IE和使用歷史記錄的bat代碼”,方便廣大網(wǎng)友查閱!

    代碼如下:

    @echo off

    title: IE temporary file deleter

    echo 正在 清除Internet臨時(shí)文件 ............

      RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

      echo 清除Cookies

      RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

      echo 清除歷史記錄

      RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

      echo 清除表單數(shù)據(jù)

      RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

      echo 清除密碼

      RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

      echo 清除上述全部項(xiàng)目

      RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

      echo 清除上述全部項(xiàng)目,以及IE7中使用的加載項(xiàng)所保存的各種數(shù)據(jù)

      RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

    msg * your useless files have been crashed,master........

    pause

    批處理怎樣清理XP系統(tǒng)的使用痕跡能?

    xp系統(tǒng)下,能否用 批處理 實(shí)現(xiàn)清理使用痕跡的功能?

    IE使用痕跡 系統(tǒng)使用痕跡 軟件使用痕跡等等。

    網(wǎng)上搜索了幾個(gè),感覺(jué)都不太好用。

    不想用軟件清理,只想運(yùn)行一下bat文件,就自動(dòng)清理完了。

    有沒(méi)有bat批處理,實(shí)現(xiàn) 清理天使.rar 這個(gè)軟件里面的清理痕跡功能?

    ygqiang 中尉 Rank: 5Rank: 5 帖子356 積分803 技術(shù)1 捐助0 注冊(cè)時(shí)間2010-4-18 2樓

    發(fā)表于 2011-4-8 14:03 | 只看該作者

    其實(shí)我主要是想清理下上網(wǎng)痕跡

    網(wǎng)上下載的bat文件,不行

    這個(gè)軟件,清理的比較徹底 !

    代碼如下:

    @echo off

    mode con cols=50 lines=15

    echo 10秒后即將進(jìn)行清理,請(qǐng)先關(guān)閉瀏覽器

    ping -n 10 127.1>nul 2>nul

    cls

    echo 清理中,請(qǐng)稍后。。。

    del /f /s /q %temp%\*.* >nul 2>nul

    del /f /s /q "%userprofile%\locals~1\tempor~1\*.*" >nul 2>nul

    del /f /s /q "%systemdirve%\recycled\*.*" >nul 2>nul

    del /f /s /q "%userprofile%\recent\*.*" >nul 2>nul

    del /f /s /q "%userprofile%\cookies\*.*" >nul 2>nul

    del /f /s /q "%userprofile%\locals~1\history\*.*" >nul 2>nul

    echo y | reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\TypedURLS" >nul 2>nul

    echo y | reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\internet settings\5.0\cache\extensible cache" >nul 2>nul

    cls

    echo 清理完畢,按任意鍵退出

    pause>nul

    下面的的代碼是經(jīng)過(guò)優(yōu)化,可以記錄清理日志信息等

    代碼如下:

    @echo off

    color 0a

    mode con cols=100 lines=350

    echo %date% %time%

    set time1=%time::=%

    set file=%time1:~,8%

    echo 即將進(jìn)行清理,請(qǐng)先關(guān)閉瀏覽器

    set /p=<nul 1>cls%file%.log 2>clsErr%file%.log

    set /p a=你確定繼續(xù)清理嗎?(Y/N)

    if /i not "%a%"=="y" goto :end

    echo 清理中,請(qǐng)稍后。。。

    echo ------------------------------------開始清理:%temp%\*.*>>cls%file%.log

    del /f /s /q %temp%\*.* >>cls%file%.log 2>>clsErr%file%.log

    del /f /s /q "%userprofile%\locals~1\tempor~1\*.*" >>cls%file%.log 2>>clsErr%file%.log

    del /f /s /q "%systemdirve%\recycled\*.*" >>cls%file%.log 2>>clsErr%file%.log

    del /f /s /q "%userprofile%\recent\*.*" >>cls%file%.log 2>>clsErr%file%.log

    del /f /s /q "%userprofile%\cookies\*.*" >>cls%file%.log 2>>clsErr%file%.log

    del /f /s /q "%userprofile%\locals~1\history\*.*" >>cls%file%.log 2>>clsErr%file%.log

    echo ------------------------------------開始清理:注冊(cè)表信息>>cls%file%.log

    echo y | reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\TypedURLS" >>cls%file%.log 2>>clsErr%file%.log

    echo y | reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\internet settings\5.0\cache\extensible cache" >>cls%file%.log 2>>clsErr%file%.log

    echo 清理完畢,按任意鍵退出

    :end

    pause

    找了2個(gè)文件,

    但能否將這2個(gè)文件,做到1個(gè)bat批處理文件 或者 reg文件 里面呢?

    1、徹底屏蔽歷史記錄.ini

    文件內(nèi)容是:

    代碼如下:

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

    "Save_Session_History_On_Exit"="yes"

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs [8]

    2、徹底屏蔽歷史記錄.bat

    文件內(nèi)容是:

    代碼如下:

    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /f /v "History" /t REG_EXPAND_SZ /d "%%USERPROFILE%%\Local Settings\History//\"

    regini 徹底屏蔽歷史記錄.ini

    用1個(gè)bat批處理解決。

    代碼如下:

    ;刪除上網(wǎng)記錄

    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /f /v "History" /t REG_EXPAND_SZ /d "%%USERPROFILE%%\Local Settings\History//\"

    reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs"

    reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /f /v "Save_Session_History_On_Exit" /t REG_SZ /d "yes"

    echo HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURL [8]>tmp.ini

    regini tmp.ini

    If "%ERRORLEVEL%"=="0" del tmp.ini

    以上這個(gè),可以屏蔽ie瀏覽器的“歷史記錄”

    更多信息請(qǐng)查看IT技術(shù)專欄

    更多信息請(qǐng)查看腳本欄目
    易賢網(wǎng)手機(jī)網(wǎng)站地址:清理IE和使用歷史記錄的bat代碼
    由于各方面情況的不斷調(diào)整與變化,易賢網(wǎng)提供的所有考試信息和咨詢回復(fù)僅供參考,敬請(qǐng)考生以權(quán)威部門公布的正式信息和咨詢?yōu)闇?zhǔn)!

    2025國(guó)考·省考課程試聽報(bào)名

    • 報(bào)班類型
    • 姓名
    • 手機(jī)號(hào)
    • 驗(yàn)證碼
    關(guān)于我們 | 聯(lián)系我們 | 人才招聘 | 網(wǎng)站聲明 | 網(wǎng)站幫助 | 非正式的簡(jiǎn)要咨詢 | 簡(jiǎn)要咨詢須知 | 新媒體/短視頻平臺(tái) | 手機(jī)站點(diǎn) | 投訴建議
    工業(yè)和信息化部備案號(hào):滇ICP備2023014141號(hào)-1 云南省教育廳備案號(hào):云教ICP備0901021 滇公網(wǎng)安備53010202001879號(hào) 人力資源服務(wù)許可證:(云)人服證字(2023)第0102001523號(hào)
    云南網(wǎng)警備案專用圖標(biāo)
    聯(lián)系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關(guān)注公眾號(hào):hfpxwx
    咨詢QQ:1093837350(9:00—18:00)版權(quán)所有:易賢網(wǎng)
    云南網(wǎng)警報(bào)警專用圖標(biāo)