制作一个系统垃圾清理软件
1.首先在电脑上新建一个TXT的记事本文件,名字随便起,如111。TXT,双击进入复制一下内容。
@echo off
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systerive%\*.tmp
del /f /s /q %systerive%\*._mp
del /f /s /q %systerive%\*.log
清除电脑垃圾del /f /s /q %systerive%\*.gid
del /f /s /q %systerive%\*.chk
del /f /s /q %systerive%\*.old
del /f /s /q %systerive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & %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
2.复制粘贴上以上内容,然后保存,将文件的扩展名TXT 改为.bat,回车确定。然后它就变成了一个批处理文件了。
3.使用的时候双击即可使用。

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。