使用bat文件清理系统垃圾时候出现attrib.exe - 没有软盘???

来源:百度知道 编辑:UC知道 时间:2024/05/12 19:46:12
使用bat文件清理系统垃圾时候出现“attrib.exe - 没有软盘”为标题的对话框 写着 驱动器中没有软盘。 请在驱动器H中插入软盘 H盘是我的光驱 这是怎么回事? 每次清理垃圾都这样啊
@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

系统清理内容比较多,你到我的百度空间看看,有详细介绍。
http://hi.baidu.com/xhspace/blog/item/48ec92ca7232dbfa53664f43.html
http://hi.baidu.com/xhspace/blog/item/d3b67639d520ff2496ddd852.html
http://hi.baidu.com/xhspace/blog/item/3fa14aef99913bfcb3fb955f.html
提示:
1.各类程序,游戏,文档等属于自己的东西都不要放到c盘。例如把程序安装到D盘,把文档等放到E……这样能有效减少碎片产生。
2.定期清理系统空间
3.下载vista优化大师,把部分系统文件夹从C转到其他盘。

将你用的bat代码发出来。。