这段批处理文件做了些什么?

来源:百度知道 编辑:UC知道 时间:2024/06/07 08:12:37
@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 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\*.*"

清除系统垃圾文件,这些文件的清除对系统的运行没有影响。
%systemdrive% 表示文件夹C:
%systemdrive%\recycled 表示文件夹回收站
%windir% 表示文件夹C:\windows
%userprofile%表示文件夹C:\Documents and Settings\用户名

清除没用的临时文件 cookie等 垃圾文件

清理系统垃圾的

清楚系统和用户的垃圾的

是清理系统垃圾的,
你可以弄个文本文件再改扩展名为.bat就可以用了