自制清理垃圾小程序
- 格式:doc
- 大小:25.50 KB
- 文档页数:2
自己制作一个清理系统垃圾的一个小程序,方法如下:在电脑屏幕的左下角按“开始→程序→附件→记事本”,把下面的文字复制进去
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory
Management\PrefetchParameters]"EnablePrefetcher"=dword:00000001[HKE Y_LOCAL_MACHINE\System\ControlSet001\Control\]"WaitToKillServiceTime out"="10000"[HKEY_CURRENT_USER\Control
Panel\Desktop]"AutoEndTasks"=dword:00000001"HungAppTimeout"="1000"" WaitToKillAppTimeout"="5000"[HKEY_USERS\.DEFAULT\Control
Panel\Desktop]"AutoEndTasks"=dword:00000001"HungAppTimeout"="1000"" WaitToKillAppTimeout"="5000";打开启动优化功能
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction ]"Enable"="Y";加快程序运行速度
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]" ConfigFileAllocSize"=dword:000001f4;加快菜单显示速度
[HKEY_CURRENT_USER\Control Panel\desktop]"MenuShowDelay"="0";加速打开我的电脑和
Explorer[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stis vc]"Start"=dword:00000004[HKEY_CURRENT_USER\Software\Microsoft\Win dows\CurrentVersion\Policies\Explorer]"NoSaveSettings"=dword:00000000[H KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explore r\Advanced]"NoNetCrawling"=dword:00000001[HKEY_LOCAL_MACHINE\SO FTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoRemoteRe cursiveEvents"=dword:00000001
你c盘空间是不是越来越小了?
1.你看过在线电影么?用什么看的?
2.你清理过系统垃圾么?
@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 s\*.*
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\*.*"
sfc /purgecache '清理系统盘无用文件defrag %systemdrive% -b '优化预读信息echo 清除系统LJ完成!
echo. & pause
(以上为需要复制部分)