自制垃圾批处理软件

简介: 自编处理软件,打开记事本,将以下内容复制到文本框保存,保存类型为所有文件,所有文件,名字为垃圾处理.bat.点bat很重要不然没有用,感觉比360什么的好多了。代码在下面。cls@echo offecho 系统垃圾清理echo 包括IE,软件等等echo Loading.

自编处理软件,打开记事本,将以下内容复制到文本框保存,保存类型为所有文件,所有文件,名字为垃圾处理.bat.点bat很重要不然没有用,感觉比360什么的好多了。代码在下面。
cls
@echo off

echo 系统垃圾清理
echo 包括IE,软件等等
echo Loading...
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,软件等等
echo Loading...
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
到此代码结束

相关文章
|
8月前
|
前端开发 JavaScript Android开发
打算一个卡片记忆软件,全平台架构如何选型?
打算一个卡片记忆软件,全平台架构如何选型?
|
存储 消息中间件 缓存
相比游戏客户端,游戏服务端开发无关紧要吗
感觉游戏服务端,除了更新,保存数据啊、生成随机物品啊、都没什么了,好像游戏开发场景中,服务端已经无关紧要了。看着客户端忙成狗,正在摸鱼的你是否也有过这样的疑问?
638 0
相比游戏客户端,游戏服务端开发无关紧要吗
|
8月前
|
编解码 监控 安全
电脑高效率工作、学习工具软件推荐
电脑高效率工作、学习工具软件推荐
161 1
|
8月前
|
弹性计算 供应链 开发者
计算巢实操合集:软件供应商发布服务实操(系列三)
弹性计算社区推出的面向开发者计算巢成长系列课程已经发布第三期了,本期将围绕软件供应商发布服务实操
|
消息中间件 资源调度 分布式计算
任务调度系统就该这么设计(万能通用),稳的一批! 下
任务调度系统就该这么设计(万能通用),稳的一批! 下
|
负载均衡 NoSQL Java
任务调度系统就该这么设计(万能通用),稳的一批! 上
任务调度系统就该这么设计(万能通用),稳的一批!上
|
程序员
我的收藏:第四章:八十种在线工具
我的收藏:第四章:八十种在线工具
164 0
我的收藏:第四章:八十种在线工具
|
NoSQL 数据处理 C#
基于C#的ArcEngine二次开发52:GDB数据处理过程中与Name相关的操作
基于C#的ArcEngine二次开发52:GDB数据处理过程中与Name相关的操作
基于C#的ArcEngine二次开发52:GDB数据处理过程中与Name相关的操作
|
数据采集 JSON 监控
离线计算-数据改装程序|学习笔记
快速学习离线计算-数据改装程序
106 0
离线计算-数据改装程序|学习笔记
|
监控 前端开发 druid
作业收缴系统设计手册(自写开源小系统)
系统旨在优化作业上交流程,解决收缴作业的繁琐过程,传统收缴作业基于qq文件,或者邮箱收发。需要大量的人工操作和精力取维护。而本系统将作业系统部署到服务器,大大方便了教师/收作业者对作业的管理。系统精美简单易用。能够满足大部分需求。项目已开源,可以自己使用或者二次开发等等。欢迎star?!!
296 0
作业收缴系统设计手册(自写开源小系统)

热门文章

最新文章