不错的winodws XP 优化处理文件

2019-09-19 07:05:03丽君
TITLE winodws XP 优化处理文件 By 阿拉发贴 谢谢您关注网盟!
COLOR 0A
CLS
@echo off
cls
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
echo 专用winodws XP 优化处理文件
echo.
echo 正在清除系统垃圾文件,请稍等......
echo. 
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
sfc /purgecache
sfc /purgecache
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%*.log
del /f /s /q %windir%*.tmp
del /f /s /q %windir%prefetch*.*
rd /s /q %windir%temp & md %windir%temp
rd /s /q %temp% & md %temp%
del /f /q %userprofile%recent*.*
del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"
del /f /s /q "%userprofile%Local SettingsTemp*.*"
del /f /s /q "%userprofile%recent*.*"
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
echo 清除系统垃圾完成!
echo.
echo 正在自动对WinXP的服务进行优化...
echo.
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo.
@rem Alerter 
@rem 微软: 通知选取的使用者及计算机系统管理警示。如果停止这个服务,使用系统管理@rem 警示的程序将不会收到通知。
@rem 补充: 一般家用计算机根本不需要传送或接收计算机系统管理来的警示(Administrative Alerts),除非你的计算机用在局域网络上 
@rem 依存: Workstation 
@rem 建议: 已停用 
sc config Alerter start= DISABLED 
echo.
@rem Application Layer Gateway Service 
@rem 微软: 提供因特网联机共享和因特网联机防火墙的第三方通讯协议插件的支持 
@rem 补充: 如果你不使用因特网联机共享 (ICS) 提供多台计算机的因特网存取和因特网联机防火墙 (ICF) 软件你可以关掉 
@rem 依存: Internt Connection Firewall (ICF) / Internet Connection Sharing (ICS) 
相关文章 大家在看