Win7電腦清理垃圾的運(yùn)行命令代碼是什么?
如何清理Win7計(jì)算機(jī)上的垃圾?您可以通過使用第三方工具手動清理它,或使用運(yùn)行命令代碼清理win7中的垃圾來解決此問題。那么執(zhí)行命令代碼是什么? win7電腦快速刪除win7系統(tǒng)垃圾,可以通過運(yùn)行命令清除文件垃圾。接下來小編我將介紹win7計(jì)算機(jī)可以清除垃圾的可執(zhí)行命令的代碼。
操作步驟:
1、首先使用快捷鍵“win+R”打開運(yùn)行窗口;
2、輸入命令“cleanmgr”,回車確定打開清理窗口;
3、選擇想要掃描清理的磁盤,單擊“確定”即可運(yùn)行;
4、等待掃描完成;
5、彈出窗口中選擇你想要清理的文件,單擊下方“清理系統(tǒng)文件”即可清理完成;
6、右鍵桌面鼠標(biāo)滑動到“新建”,單擊選擇“文本文檔”;
7、打開記事本文本文檔,粘貼以下命令,單擊左上角“文件”,選擇另存為,并修改名字為“一鍵清理.bat”:
@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 SettingsTemporary Internet Files*.*”
del /f /s /q “%userprofile%Local SettingsTemp*.*”
del /f /s /q “%userprofile%recent*.*”
echo 清除系統(tǒng)LJ完成!
echo. & pause
8、雙擊運(yùn)行win7桌面上的“一鍵清理.bat”,等待其清理垃圾文件完成即可。
以上就是小編帶來的win7電腦清理垃圾的運(yùn)行命令代碼是什么的全部內(nèi)容,希望可以提供幫助。
相關(guān)文章:
1. UOS文檔查看器怎么添加書簽? UOS添加書簽的三種方法2. Unix文件系統(tǒng)和pwd命令實(shí)現(xiàn)詳解3. qqprotect.exe是什么進(jìn)程?qqprotect.exe怎么禁止自動啟動?4. 微軟發(fā)現(xiàn)蘋果 macOS 漏洞 可植入惡意軟件5. 統(tǒng)信uos系統(tǒng)怎么進(jìn)行打印測試頁和刪除打印機(jī)?6. Windows 注冊表LastKey鍵值的設(shè)置技巧7. VMware Workstation虛擬機(jī)安裝VMware vSphere 8.0(esxi)詳細(xì)教程8. deepin20時(shí)間顯示不準(zhǔn)確怎么調(diào)整? deepin時(shí)間校正方法9. 如何在電腦PC上啟動Windows11和Linux雙系統(tǒng)10. 統(tǒng)信uos操作系統(tǒng)怎么激活? 統(tǒng)信UOS系統(tǒng)家庭版激活教程
