//==================================================================
//今天突然觉得电脑慢得像蜗牛,看视频和听音乐都卡卡的,左查右查,才发觉,因为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
//================================================================================
//源程序结束!