清除系统lj.dat

来源:百度知道 编辑:UC知道 时间:2024/05/16 17:11:12
我使用了"清除系统lj.dat"这个功能,怎么连我桌面上的文件和文件夹里面的东西全删除了
怎么弄的,谁能告诉我原因吗?
好着急哦

清除系统垃圾的程序内容:
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\*.*"

del是删除的意思 /f 强制删除只读文件 /s 从所有子目录删除文件 /q 不需要确认
后面的是删除的目录

我不太习惯这个批处理文件,不一定适合所有人的,慎重使用