每隔一段时间两个星期左右,系统运行会产生临时文件

来源:百度知道 编辑:UC知道 时间:2024/06/17 13:31:24
每隔一段时间两个星期左右,进行恶评插件扫描,就会出现这样的恶评插件,显示系统运行产生的临时文件,记得九月份及更早,并不会这样啊,请问是怎么回事?
此恶评插件被描述为系统运行产生的临时文件

打开记事本,将下面一段程序复制进去,存为LJ.bat文件,每天开机运行一遍即可。
@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%\re