Chinaunix首页 | 论坛 | 博客
  • 博客访问: 93197
  • 博文数量: 14
  • 博客积分: 490
  • 博客等级: 下士
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2007-04-20 11:00
文章分类

全部博文(14)

文章存档

2011年(1)

2008年(4)

2007年(9)

我的朋友
最近访客

分类: WINDOWS

2008-05-27 14:13:39

    New a text file named clear_trash.txt, copy following information into the file.
 
@echo off          
echo Processing to clear the system trash file, please wait.......
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 Congratulation, you have finished cleaning the system trash !          
echo. & pause
 
   save the file as clear_trash.bat, then double click the clear_trash.bat, the file start running, after finished, the system trash files have been cleaned.
阅读(1010) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~