Win10清理垃圾代碼有哪些?Win10清理垃圾in10清理垃圾的運行代碼匯總
Win10清理垃圾代碼有哪些?電腦使用時間長了就會堆積很多的垃圾占用內(nèi)存使得電腦變得越來越卡,影響使用體驗,今天就給大家?guī)硪粋€簡單的方法用代碼清理垃圾,下面就一起來學(xué)習(xí)一下吧。
Win10清理垃圾的代碼
1、右擊桌面空白處,選擇“文本文檔”
2、打開文本文檔
3、復(fù)制代碼
@echo off
pause
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 SettingsTemporary Internet Files*.*”
del /f /s /q “%userprofile%Local SettingsTemp*.*”
del /f /s /q “%userprofile%recent*.*”
echo 清理系統(tǒng)垃圾完成!
echo. & pause
4、黏貼至文本文檔
5、點擊“另存為”
6、更改文件名為 系統(tǒng)垃圾清理.bat
7、雙擊運行“系統(tǒng)垃圾清理.bat”
8、按下任意鍵
9、清理開始
10、出現(xiàn)“系統(tǒng)垃圾清理完成”即可
相關(guān)文章:
1. 藍(lán)牙耳機怎么連接電腦win72. Win10自帶輸入法一點都不比搜狗差,Win10輸入法玩法介紹3. 三個你應(yīng)該知道的Windows8快捷鍵4. Win11怎么打開網(wǎng)絡(luò)配置器選項?5. 禁止win10系統(tǒng)重啟電腦桌面圖標(biāo)重新排列的方法6. Windows 7啟動后桌面頻繁出現(xiàn)假死解決辦法7. fedora系統(tǒng)怎么設(shè)置鼠標(biāo)指針大小?8. Win11如何預(yù)設(shè)多窗口?Win11預(yù)設(shè)多窗口的方法9. Win10系統(tǒng)中使用anaconda的conda activate激活環(huán)境時報錯應(yīng)該怎么解決?10. WinXP系統(tǒng)U盤變成文件夾怎么解決?
