Ghost Win7系統(tǒng)下快速刪除系統(tǒng)垃圾文件BAT腳本的方法【圖文】
更新日期:2024-03-20 15:45:10
來(lái)源:轉(zhuǎn)載
電腦越來(lái)越卡,電腦的反應(yīng)越來(lái)越遲鈍,系統(tǒng)垃圾也越來(lái)越多,怎么樣才能夠輕輕松松一鍵清理系統(tǒng)垃圾呢,下面就為大家介紹一個(gè)讓你擺脫系統(tǒng)垃圾難題的方法,讓你的電腦經(jīng)常都有“瘦身”,不再擔(dān)心系統(tǒng)垃圾的問(wèn)題。這篇文章主要介紹了Ghost win7系統(tǒng)快速刪除系統(tǒng)垃圾文件BAT腳本,不會(huì)的同學(xué)也不用擔(dān)心,本文配有圖文解說(shuō),保證一學(xué)就會(huì),需要的朋友可以參考下!
操作方法:
1.在win7旗艦版系統(tǒng)桌面上找到開(kāi)始按鈕,點(diǎn)擊所有程序--附件—記事本,創(chuàng)建個(gè)新的記事本;
2.復(fù)制下面的紅字部分,粘貼進(jìn)新建的文本文檔里
復(fù)制代碼
代碼如下:
@echo off
echo 清除系統(tǒng)垃圾過(guò)程中,請(qǐ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)垃圾完成!按任意鍵繼續(xù)……
echo. & pause
如圖所示:
3.點(diǎn)“另存為”,把文件名定為“ 清除系統(tǒng)垃圾.bat ”就完成,點(diǎn)擊打開(kāi)清除系統(tǒng)垃圾,完了按任意鍵完成;
系統(tǒng)垃圾清理到此就制作完畢,以上就是系統(tǒng)清理的制作,有興趣的可以制作一個(gè)放桌面,方便隨時(shí)給電腦系統(tǒng)清理垃圾。Ghost win7系統(tǒng)下快速刪除系統(tǒng)垃圾文件BAT腳本的方法就跟大家分享到這里,更多精彩內(nèi)容歡迎繼續(xù)關(guān)注系統(tǒng)!
- monterey12.1正式版無(wú)法檢測(cè)更新詳情0次
- zui13更新計(jì)劃詳細(xì)介紹0次
- 優(yōu)麒麟u盤安裝詳細(xì)教程0次
- 優(yōu)麒麟和銀河麒麟?yún)^(qū)別詳細(xì)介紹0次
- monterey屏幕鏡像使用教程0次
- monterey關(guān)閉sip教程0次
- 優(yōu)麒麟操作系統(tǒng)詳細(xì)評(píng)測(cè)0次
- monterey支持多設(shè)備互動(dòng)嗎詳情0次
- 優(yōu)麒麟中文設(shè)置教程0次
- monterey和bigsur區(qū)別詳細(xì)介紹0次
周
月