電腦批處理刪除緩存文件的方法

2022-06-04發(fā)布者:ylm大?。?/span> 下載:0

文件大小:

軟件介紹

方法:

  1、在Windows8桌面上按鼠標(biāo)右鍵新建“文本文檔”。

  2、復(fù)制以下代碼粘貼到記事本內(nèi)。

  @echo off

  color 1e

  for /r c: %%a in (*.tmp *.chk *.gid *._mp *.old *.bak *.log) do del /f /s /q “%%a”

  for /r c:windowstemp %%a in (*.*) do del /f /s /q “%%a”

  for /r c:windowsPrefetch %%a in (*.*) do del /f /s /q “%%a”

  for /r %userprofile%AppDataLocalTemp %%a in (*.*) do del /f /s /q “%%a”

  for /r “%localappdata%MicrosoftWindowsTemporary Internet Files” %%a in (*.*) do del /f /s /q “%%a”

  for /r %localappdata%MicrosoftWindowsHistory %%a in (*.*) do del /f /s /q “%%a”

  for /r %appdata%MicrosoftWindowsCookies %%a in (*.*) do del /f /s /q “%%a”

  for /r %windir%SoftwareDistributionDownload %%a in (*) do del /f /s /q “%%a”

  for /r “%windir%Downloaded Program Files” %%a in (*) do del /f /s /q “%%a”

  for /r %windir%System32LogFiles %%a in (*) do del /f /s /q “%%a”

  del /f /s /q %systemdrive%hiberfil.sys

  pause & exit

  這樣按任意鍵就退出了

  3、將“記事本”后綴名改為“.bat”。

  4、最后雙擊“.bat”運(yùn)行文件即可。

發(fā)表評論(共0條評論)
請自覺遵守互聯(lián)網(wǎng)相關(guān)政策法規(guī),評論內(nèi)容只代表網(wǎng)友觀點(diǎn),發(fā)表審核后顯示!

版權(quán)聲明:

1 本站所有資源(含游戲)均是軟件作者、開發(fā)商投稿,任何涉及商業(yè)盈利目的均不得使用,否則產(chǎn)生的一切后果將由您自己承擔(dān)!

2 本站將不對任何資源負(fù)法律責(zé)任,所有資源請?jiān)谙螺d后24小時內(nèi)刪除。

3 若有關(guān)在線投稿、無法下載等問題,請與本站客服人員聯(lián)系。

4 如侵犯了您的版權(quán)、商標(biāo)等,請立刻聯(lián)系我們并具體說明情況后,本站將盡快處理刪除,聯(lián)系QQ:2499894784

返回頂部