學(xué)習(xí)啦>學(xué)習(xí)電腦>操作系統(tǒng)>win8教程>

win8電腦中的垃圾文件如何刪除

時間: 春健736 分享

  電腦使用時間久了,往往會常常很多垃圾文件,導(dǎo)致你的系統(tǒng)變慢,那么win8電腦中的垃圾文件如何刪除呢?下文學(xué)習(xí)啦小編分享了刪除win8電腦中的垃圾文件的方法,希望對大家有所幫助。

  win8電腦中的垃圾文件刪除方法一

  1.首先,咱們雙擊桌面的計算機圖標(biāo),展開系統(tǒng)的分區(qū)之后,大家可以看看,自己需要清理的是哪個磁盤的垃圾文件,確定之后咱們右鍵點擊該磁盤,然后選擇屬性-磁盤清理。

  2.接下來咱們就需要等上幾分鐘了,因為系統(tǒng)會根據(jù)咱們的選擇掃描磁盤中的垃圾文件,然后所有可以清理的垃圾文件都會出現(xiàn)在下方的方框中。

  3.想要刪除哪些文件,就直接在文件前方的方框中打鉤就可以了,然后點擊下方的清理系統(tǒng)文件即可。

  win8電腦中的垃圾文件刪除方法二

  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”運行文件即可。

看過“win8電腦中的垃圾文件如何刪除”的人還看了:

1.電腦如何自動清理垃圾文件 圖文詳解

2.win8電腦中的垃圾文件怎么刪除

3.win7怎么清除電腦里的垃圾

4.win8電腦怎么刪除系統(tǒng)垃圾文件

5.如何刪除電腦c盤垃圾

6.電腦怎么清理程序垃圾

1286562