如何制作批处理删除C盘下文件夹里的1ca53f6.dll文件

来源:百度知道 编辑:UC知道 时间:2024/06/07 21:57:33

@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完成!

将以上内容粘进记事本,保存成“清除垃圾.bat”即可。

在哪个文件夹?还是所有文件夹都有?

我先举个例子吧.

比如C盘Windows文件夹下的话就是

del /f /s