电脑的如飞九个小技巧(批处理)

http://tech.ddvip.com   2007年11月01日    社区交流

内容摘要:在桌面上单击鼠标右键,选择新建一个“记事本”,把下面红色部分复制进去,点“另存为”,把文件名定为“ 清除系统垃圾.bat ”就完成,记住后缀名一定要是.bat,然后把它移到一个您想要保存的目录,OK了!你的垃圾清除器就这样制作成功了!双击它就能很快地清理垃圾文件,大约一分钟不到。

  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% ecycled*.*

  del /f /s /q %windir%*.bak

  del /f /s /q %windir%prefetch*.*

  rd /s /q %windir%  emp & md %windir%  emp

  del /f /q %userprofile%cookies*.*

  del /f /q %userprofile% ecent*.*

  del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"

  del /f /s /q "%userprofile%Local SettingsTemp*.*"

  del /f /s /q "%userprofile% ecent*.*"

  echo 清除系统垃圾完成!按任意键继续……感谢您的使用!!

  echo. & pause

  以后每隔一段时间你就可以双击些工具,运行完必就会还你一个“苗条”的系统了!!到时候再看看你的电脑,是不是急速如飞呢?这招比那些所谓的优化大师、超级兔子更加简便好用!不会破坏系统文件!

  第二招:清除所有多余的启动项目

  此命令将自动清理所有非必要的启动项目,仅保留输入法(ctfmon)。

  目的是减少不必要的资源占用,使系统运行顺畅。

  在桌面上单击鼠标右键,选择新建一个“记事本”,把下面红色部分复制进去,点“另存为”,把文件名定为“ 清除启动项.bat ”就完成,记住后缀名一定要是.bat,然后把它移到一个您想要保存的目录,OK了!大约一分钟不到。

  @ ECHO OFF

  color 1f

  title 清除所有多余的启动项目

  PAUSE

  reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun /va /f

责编:豆豆技术应用

正在加载评论...