Waiting Chan, waiting for change.

Study TO Get The __. ( __ = ?? ) = Project & Plan

 

删除临时文件 & RUNAS 用法

@echo off
echo 正在清除系统垃圾文件,请稍等......
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 清除系统LJ完成!
echo. & pause

以上copy来的要保存未一个bat文件
以下自己作的

del--- Temporary Internet Files .bat

c:
cd c:\Documents and Settings\user\Local Settings\Temporary Internet Files\Content.IE5\
d:\deltree.exe /y .


del---temp.bat

c:
cd c:\Documents and Settings\user\Local Settings\Temp\.
d:\deltree.exe /y .


del---winnt temp.bat

c:
cd c:\winnt\Temp\.
d:\deltree.exe /y .


exe file use RUNAS

runas /user:name d:\totalcmd\totalcmd.exe

posted on 2007-04-16 10:28 I am waiting 阅读(471) 评论(0)  编辑 收藏 引用 所属分类: computer

只有注册用户登录后才能发表评论。

导航

统计

常用链接

留言簿(1)

随笔分类

随笔档案

文章分类

相册

最近发现的连接

搜索

最新评论

阅读排行榜

评论排行榜