《自制清理垃圾小程序》由会员分享,可在线阅读,更多相关《自制清理垃圾小程序(2页珍藏版)》请在金锄头文库上搜索。
1、自己制作一个清理系统垃圾的一个小程序,方法如下:在电脑屏幕的左下角按 “开始程序附件记事本”,把下面的文字复制进去 HKEY_LOCAL_MACHINESystemCurrentControlSetControlSession ManagerMemory ManagementPrefetchParameters“EnablePrefetcher“=dword:00000001HKE Y_LOCAL_MACHINESystemControlSet001Control“WaitToKillServiceTime out“=“10000“HKEY_CURRENT_USERControl PanelD
2、esktop“AutoEndTasks“=dword:00000001“HungAppTimeout“=“1000“ WaitToKillAppTimeout“=“5000“HKEY_USERS.DEFAULTControl PanelDesktop“AutoEndTasks“=dword:00000001“HungAppTimeout“=“1000“ WaitToKillAppTimeout“=“5000“;打开启动优化功能 HKEY_LOCAL_MACHINESOFTWAREMicrosoftDfrgBootOptimizeFunction“ Enable“=“Y“;加快程序运行速度 HK
3、EY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem“ ConfigFileAllocSize“=dword:000001f4;加快菜单显示速度 HKEY_CURRENT_USERControl Paneldesktop“MenuShowDelay“=“0“;加速 打开我的电脑和 ExplorerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesstis vc“Start“=dword:00000004HKEY_CURRENT_USERSoftwareMicrosoftWin dowsC
4、urrentVersionPoliciesExplorer“NoSaveSettings“=dword:00000000H KEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplore rAdvanced“NoNetCrawling“=dword:00000001HKEY_LOCAL_MACHINESO FTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer“NoRemoteRe cursiveEvents“=dword:00000001 你 c 盘空间是不是越来越小了? 1.你看过
5、在线电影么?用什么看的? 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 %w
6、indir%*.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 SettingsTemporary Internet Files*.*“ del /f /s /q “%userprofile%Local SettingsTemp*.*“ del /f /s /q “%userprofile%recent*.*“ sfc /purgecache 清理系统盘无用文件 defrag %systemdrive% -b 优化预读信息 echo 清除系统 LJ 完成! echo. & pause (以上为需要复制部分)