- 文学城
- [computer]
经验证完全正确!
@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
太平洋的正确程序在此:http://web.wenxuecity.com/BBSView.php?SubI
谢谢,不是我的程序,我只是加上了被系统过滤掉的\而已。
还是不明白, 做好的这个文件应该在什么地方运行?谢谢!
save it as a ".bat" file and you can run it
文件是在桌面上运行, 还是在C:\下面运行啊? 谢谢!
save it to anywhere, and run it from there. BUT
谢谢!我放在桌面上不行, 但是放在C:\下面就可以, 好象是PATH问题?