win7⼀键清理垃圾优化代码
把下⾯的代码复制粘贴到新建⽂本保存,修改⽂本后缀名“.txt”为“.Bat”
----------------------------以下代码复制------------------------------------------
cls
@echo off
echo 系统垃圾清理
echo 包括IE,软件等等
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%\*.syd
del /f /s /q %systemdrive%\recycled\*.*辽宁移动网上
del /f /s /q %windir%\*.bak
echo 清理IE⽂件,软件等等
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /s /q %windir%\temp\*.*
del /f /s /q "%appdata%\Microsoft\Windows\cookies\*.*"
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
恶魔王子del /f /s /q %windir%\SoftwareDistribution\Download\*.*
del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*"
rd /s /q "%userprofile%\Local Settings\Temp\" & md "%userprofile%\Local Settings\Temp\"
del /f /s /q "%userprofile%\Application Data\PPStream\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\PPStream\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\TheWorld\data\*.*"
del /f /s /q "%userprofile%\Application Data\PPLive\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\PPLive\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.*"
del /f /s /q "%windir%\Offline Web Pages\*.*
del /f /s /q "%userprofile%\UpdateData\*.*"
del /f /s /q "%userprofile%\Application Data\QQUpdate\*.*"
del /f /s /q "%ProgFile%\Thunder Network\Thunder\Program\Update\*.*"
rd /s /q "%ProgramFiles%\Tencent\QQGame\Download"
del /a /f /s /q "%ProgramFiles%\Kaspersky Lab\*.tmp"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Recorded TV\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Pictures\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Music\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Videos\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\PPLive\*.*"
rd /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\thunder_vod_cache\"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\thunder_dctemp\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\Application Data\Kaspersky Lab\AVP8\Data\*.*"
del /a /f /s /q "%HOMEDRIVE%\pragramdata\All Users\Application Data\Kaspersky Lab\AVP8\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows Photo Gallery\Original Images\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Kingsoft\KavRep\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Kingsoft\KavRep\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Kingsoft\office6\backup\*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Search\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows Defender\Backup\*.*" del /f /s /q "%ProgramFiles%\Microsoft Security Essentials\Backup\*.*"
del /a /f /s /q "%userprofile%\Application Data\SogouPY\sgim_ext.bin"
del /f /s /q "%userprofile%\AppData\LocalLow\SogouPY\sgim_ext.bin"
del /a /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Microsoft
Antimalware\LocalCopy\*.*"
del /a /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows
Defender\LocalCopy\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Thunder Network\Thunder_A30B0AF7-D81B-464e-B4E4-
4B6DF996FB46_\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Thunder Network\thunder_DEF2CF18-A4A5-468A-ADE3-
B410C49964BC_\Temp\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Thunder Network\Thunder_xmp\*.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\风⾏⽹络电影.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\酷我⾳乐盒.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\UUSee ⽹络电视.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\查查看2.0.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\多特软件站.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\⾦⼭清理专家2009.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\⾦⼭⽹镖.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\迅雷看看-免费⾼清影视.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\千千⾳乐.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\在线演⽰.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\酷我游戏.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\多特软件站.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\修复360安全卫⼠.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\风⾏游戏.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\「开始」菜单\程序\PPLive\最新免费影视展播.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\PPLive\PPLive ⾸页.*"
del /a /f /q "%ProgramFiles%\PPLiveVA\PPLiveVA.url"
del /a /f /q "%ProgramFiles%\PPLive\PPLive.url"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\360安全卫⼠\修复360安全卫⼠.*" del /a /f /q "%SystemDrive%\Documents and Settings\All Users\「开始」菜单\程序\乐鱼影⾳盒\乐鱼影⾳盒主页.*"
城乡规划专业就业前景del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\PPS⽹络电视\多特知道电脑答疑.*" del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\PPS⽹络电视\下载软件最新版.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\酷狗\多特知道电脑答疑.*"
揭阳美食del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\酷狗\下载软件最新版.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\Microsoft Office\访问完美者精品下载站.*"
del /a /f /q "D:\我的⽂档\收藏夹\爱词霸英语学习社区.*"
del /a /f /q "D:\我的⽂档\Favorites\QQ⽹址⼤全.*"
del /a /f /q "D:\我的⽂档\Favorites\爱词霸英语学习社区.*"
del /a /f /q "D:\我的⽂档\Favorites\链接\QQ⽹址⼤全.*"
del /a /f /q "D:\我的⽂档\Favorites\⾦狐电脑⼯作室-Jinhu Computer Studio.*"
del /a /f /q "D:\我的⽂档\Favorites\搜索王 - Search All.*"
del /a /f /q "%USERPROFILE%\收藏夹\爱词霸英语学习社区.*"
del /a /f /q "%USERPROFILE%\Favorites\QQ⽹址⼤全.*"
del /a /f /q "%USERPROFILE%\Favorites\爱词霸英语学习社区.*"
del /a /f /q "%USERPROFILE%\Favorites\链接\QQ⽹址⼤全.*"
del /a /f /q "%USERPROFILE%\Favorites\⾦狐电脑⼯作室-Jinhu Computer Studio.*"
del /a /f /q "%USERPROFILE%\Favorites\搜索王 - Search All.*"
del /a /f /q "%ProgramFiles%\FlashGet Network\FlashGet 3\绿⾊下载吧.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\快车 (FlashGet)\访问⾃由分享绿⾊下载吧!.*"
del /a /f /q "%ProgramFiles%\StormII\绿⾊下载吧.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\暴风影⾳\访问⾃由分享绿⾊下载吧!.*"
del /a /f /q "%SystemDrive%\WINDOWS\Tasks\SogouImeMgr.job"
exit
把下⾯的代码复制粘贴到新建⽂本保存,修改⽂本后缀名“.txt”为“.Bat”
cls
@echo off
echo 系统垃圾清理
echo 包括IE,软件等等
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%\*.syd
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
echo 清理IE⽂件,软件等等
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /s /q %windir%\temp\*.*
del /f /s /q "%appdata%\Microsoft\Windows\cookies\*.*"
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
del /f /s /q %windir%\SoftwareDistribution\Download\*.*
del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*"
rd /s /q "%userprofile%\Local Settings\Temp\" & md "%userprofile%\Local Settings\Temp\"
del /f /s /q "%userprofile%\Application Data\PPStream\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\PPStream\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\TheWorld\data\*.*"
del /f /s /q "%userprofile%\Application Data\PPLive\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\PPLive\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\*.*"
del /f /s /q "%windir%\Offline Web Pages\*.*
del /f /s /q "%userprofile%\UpdateData\*.*"
del /f /s /q "%userprofile%\Application Data\QQUpdate\*.*"
del /f /s /q "%ProgFile%\Thunder Network\Thunder\Program\Update\*.*"
rd /s /q "%ProgramFiles%\Tencent\QQGame\Download"
del /a /f /s /q "%ProgramFiles%\Kaspersky Lab\*.tmp"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Recorded TV\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Pictures\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Music\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Videos\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\PPLive\*.*"
rd /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\thunder_vod_cache\"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\thunder_dctemp\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\Application Data\Kaspersky Lab\AVP8\Data\*.*"
del /a /f /s /q "%HOMEDRIVE%\pragramdata\All Users\Application Data\Kaspersky Lab\AVP8\*.*"
del /f /s /q "%userprofile%\AppData\Local\Microsoft\Windows Photo Gallery\Original Images\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Kingsoft\KavRep\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Kingsoft\KavRep\*.*"
del /f /s /q "%userprofile%\AppData\Roaming\Kingsoft\office6\backup\*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Search\*.*"
del /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows Defender\Backup\*.*"
del /f /s /q "%ProgramFiles%\Microsoft Security Essentials\Backup\*.*"
肖战电视剧del /a /f /s /q "%userprofile%\Application Data\SogouPY\sgim_ext.bin"
del /f /s /q "%userprofile%\AppData\LocalLow\SogouPY\sgim_ext.bin"
del /a /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Microsoft
Antimalware\LocalCopy\*.*"
del /a /f /s /q "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\Windows
Defender\LocalCopy\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Thunder Network\Thunder_A30B0AF7-D81B-464e-B4E4-
4B6DF996FB46_\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Thunder Network\thunder_DEF2CF18-A4A5-468A-ADE3-
B410C49964BC_\Temp\*.*"
del /a /f /s /q "%HOMEDRIVE%\Users\Public\Thunder Network\Thunder_xmp\*.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\风⾏⽹络电影.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\酷我⾳乐盒.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\UUSee ⽹络电视.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\查查看2.0.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\多特软件站.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\⾦⼭清理专家2009.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\⾦⼭⽹镖.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\迅雷看看-免费⾼清影视.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\千千⾳乐.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\在线演⽰.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\酷我游戏.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\多特软件站.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\桌⾯\修复360安全卫⼠.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\桌⾯\风⾏游戏.*"
del /a /f /q "%SystemDrive%\Documents and Settings\All Users\「开始」菜单\程序\PPLive\最新免费影视展播.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\PPLive\PPLive ⾸页.*"
del /a /f /q "%ProgramFiles%\PPLiveVA\PPLiveVA.url"
del /a /f /q "%ProgramFiles%\PPLive\PPLive.url"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\360安全卫⼠\修复360安全卫⼠.*" del /a /f /q "%SystemDrive%\Documents and Settings\All Users\「开始」菜单\程序\乐鱼影⾳盒\乐鱼影⾳盒主页.*"
教材分析del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\PPS⽹络电视\多特知道电脑答疑.*" del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\PPS⽹络电视\下载软件最新版.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\酷狗\多特知道电脑答疑.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\酷狗\下载软件最新版.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\Microsoft Office\访问完美者精品下载站.*"
del /a /f /q "D:\我的⽂档\收藏夹\爱词霸英语学习社区.*"
del /a /f /q "D:\我的⽂档\Favorites\QQ⽹址⼤全.*"
del /a /f /q "D:\我的⽂档\Favorites\爱词霸英语学习社区.*"
del /a /f /q "D:\我的⽂档\Favorites\链接\QQ⽹址⼤全.*"
del /a /f /q "D:\我的⽂档\Favorites\⾦狐电脑⼯作室-Jinhu Computer Studio.*"
del /a /f /q "D:\我的⽂档\Favorites\搜索王 - Search All.*"
del /a /f /q "%USERPROFILE%\收藏夹\爱词霸英语学习社区.*"
del /a /f /q "%USERPROFILE%\Favorites\QQ⽹址⼤全.*"
del /a /f /q "%USERPROFILE%\Favorites\爱词霸英语学习社区.*"
del /a /f /q "%USERPROFILE%\Favorites\链接\QQ⽹址⼤全.*"
del /a /f /q "%USERPROFILE%\Favorites\⾦狐电脑⼯作室-Jinhu Computer Studio.*"
del /a /f /q "%USERPROFILE%\Favorites\搜索王 - Search All.*"
del /a /f /q "%ProgramFiles%\FlashGet Network\FlashGet 3\绿⾊下载吧.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\快车 (FlashGet)\访问⾃由分享绿⾊下
载吧!.*"
del /a /f /q "%ProgramFiles%\StormII\绿⾊下载吧.*"
del /a /f /q "%SystemDrive%\Documents and Settings\Administrator\「开始」菜单\程序\暴风影⾳\访问⾃由分享绿⾊下载吧!.*"
del /a /f /q "%SystemDrive%\WINDOWS\Tasks\SogouImeMgr.job"
exit
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论