windows常用设置

一、windows垃圾清理

1.新建文本文档

2.编辑本文,复制内容进去

@echo off
echo Clearing system garbage files, please wait......
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 Clearing system garbage completed!
echo. & pause

3.将文件后缀.txt改成.bat

4.右击,管理员运行

 

posted @ 2025-04-08 09:22  A点点圈圈A  阅读(6)  评论(0)    收藏  举报