2022年4月

@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 清理系统垃圾完成!
echo. & pause

echo 清空IE临时文件目录...
del /f /s /q "C:\WINDOWS\Temp\Temporary Internet Files\Content.IE5*.*"
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files*.*"
del /f /s /q "%userprofile%\Local Settings\Temp*.*"
del /f /s /q "%systemdrive%\Temp*.*"
del /f /s /q "C:\WINDOWS\Temp*.*"

echo 正在清除系统临时文件 .tmp ._tmp .log .chk *.old ,请稍等...
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

echo C:\WINDOWS\PCHealth\ERRORREP\UserDumps
del /f /s /q "C:\WINDOWS\PCHealth\ERRORREP\UserDumps*.*"

echo 清除系统完成!

echo. & pause

for /1 %a in (8,1,8) do for /1 %b in (8000,1,9000) do start /low/min telnet 192.168.2.%a %b

for /l %a in (8000,1,9000) do start /low /min telnet 192.168.2.9 %a

for /l %a in (8,1,8) do start /min /low telnet 192.168.2.%a 3389