在使用剛安裝完的Win10系統(tǒng)的電腦后,覺得電腦運行很快,一點都不覺得會卡。不過,我們在使用過一段時間后突然感覺電腦又不是那么快了甚至有點卡,要如何處理這樣的問題呢?下面,小編就來大家分享win10一鍵清理系統(tǒng)垃圾文件的操作方法。
電腦升級到了Windows10,電腦C盤里面的可用空間就會變得比較小,這是安裝Windows10占用了不少系統(tǒng)盤的空間,這個時候要怎樣清理系統(tǒng)文件,win10電腦清理bat文件是一款專門針對Win10系統(tǒng)進行優(yōu)化的bat小程序。下面來看看win10電腦清理bat文件的使用。
win10一鍵清理系統(tǒng)垃圾文件
在電腦桌面空白處新建一個文本文檔
系統(tǒng)文件圖詳解-1
新建完成后,將下文復(fù)制粘貼到文本文檔里。
@echo off
echo 正在清除系統(tǒng)垃圾文件,請稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系統(tǒng)垃圾完成!
echo. & pause
系統(tǒng)文件圖詳解-2
復(fù)制完成后,點擊文件,另存為,彈出另存為窗口后,
系統(tǒng)文件圖詳解-3
保存類型改為所有文件,保存路徑自定義,文件名自定義(注:文件名尾綴需要加上“.bat”)
win10圖詳解-4
最后生成一個bat批處理文件,我們雙擊打開,系統(tǒng)便會自動清理垃圾文件了。
一鍵清理圖詳解-5
以上就是win10一鍵清理系統(tǒng)垃圾.bat的操作了。
掃一掃 生活更美好