手工垃圾清除批处理程序源代码

 

//==================================================================

//今天突然觉得电脑慢得像蜗牛,看视频和听音乐都卡卡的,左查右查,才发觉,因为C盘的空间太少了,而空间变小的原因是什么呢?我找了很久,才发现,C盘下的TTplayer和tencent的软件不是升级就是cache,晕,所以,自己写了一个小小的批处理程序来处理它,处理后,电脑飞起来了,当时的心情很难描述,一个字,爽....

//===================================================================

//源程序

@echo off
echo.
rem 颜色9为谈蓝色0为白色(头一个为背景后一个为前景)
color 90
rem 设置title为PROGRAM MAKE BY AC
title PROGRAM MAKE BY AC
echo ========================MADE BY AC ALL RIGHTS RESERVES==========================
echo ================delting instance cache about folowlling descrition==============
echo.
echo  C:\Documents and Settings\Administrator\Application Data\Tencent\QQMusic\Cache\musiccache
echo  C:\Documents and Settings\Administrator\Application Data\Tencent\QQMusic\Cache\WhirlCache
echo  C:\Documents and Settings\Administrator\Application Data\Tencent\Logs
echo  C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\AuTemp
echo  C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\Temp
echo  C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\STemp
echo  C:\Documents and Settings\Administrator\Cookies
echo  C:\Documents and Settings\Administrator\Application Data\TTPlayer\cache
echo.
echo if you sure to delting,press any key to continue!
echo ================================="1"is do,"0"is cancel==========================
pause
set /p dok=please input command:
if %dok% EQU 0 goto cancle
cd C:\Documents and Settings\Administrator\Application Data\Tencent\
del /s /q  QQMusic\Cache\musiccache\*.*
del /s /q  QQMusic\Cache\WhirlCache\*.*
del /s /q  Logs\*.*
del /s /q  QQ\AuTemp\*.*
del /s /q  QQ\Temp\*.*
del /s /q  QQ\STemp\*.*
cd  C:\Documents and Settings\Administrator\Cookies
del /s /q  *.*
cd  C:\Documents and Settings\Administrator\Application Data\TTPlayer\
del /s /q  cache\*.*
echo.
echo =========================program procession is ok!==============================
echo 刷新桌面...
taskkill /f /im explorer.exe
start explorer.exe
pause
:cancel
rem the end!!
exit

//================================================================================

//源程序结束!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值