Win7電腦清理垃圾的運(yùn)行命令代碼是什么?
如何清理Win7計算機(jī)上的垃圾?您可以通過使用第三方工具手動清理它,或使用運(yùn)行命令代碼清理win7中的垃圾來解決此問題。那么執(zhí)行命令代碼是什么? win7電腦快速刪除win7系統(tǒng)垃圾,可以通過運(yùn)行命令清除文件垃圾。接下來小編我將介紹win7計算機(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. Ubuntu Gnome下修改應(yīng)用圖標(biāo)icon辦法2. 蘋果mac升級os x10.11.4后facetime失靈的詳細(xì)解決教程3. centos7緊急修復(fù)模式怎么進(jìn)入?4. win11任務(wù)管理器的打開方法5. Windows 7公測版首演 再次忽略掉BitTorrent6. Win11隱藏功能有哪些?Win11隱藏功能一覽7. OS X 10怎么升級?升級OS X 10方法8. win7系統(tǒng)下某個窗口程序無聲音的原因以及解決方法9. Win10中自定義文件管理器信息窗格的方法10. win10關(guān)機(jī)慢怎么解決 電腦關(guān)機(jī)時間長很久怎么辦
