当前位置: 代码网 > 科技>电脑基础>电脑常识 > 让电脑急速如飞的七个小技巧(批处理)

让电脑急速如飞的七个小技巧(批处理)

2013年06月14日 电脑常识 我要评论
让电脑急速如飞的七个小技巧(批处理)无论是笔记本还是台式机,无论是什么操作系统,使用时间长了,都会出现系统垃圾,今天我们就来叫大家7个为系统瘦身的方法... 13-06-14

第一招:清除系统垃圾

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



@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\*.*

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 清除系统垃圾完成!按任意键继续……

echo. & pause


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

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

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

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

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

@ echo off

color 1f

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

pause

reg delete hkey_local_machine\software\microsoft\windows\currentversion\run /va /f

reg delete hkey_current_user\software\microsoft\windows\currentversion\run /va /f

reg add hkey_current_user\software\microsoft\windows\currentversion\run /v ctfmon.exe /d c:\windows\system32\ctfmon.exe

reg delete "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg" /f

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\imjpmig8.1"

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\imjpmig8.1" /v command /d ""c:\windows\ime\imjp8_1\imjpmig.exe" /spoil /remadvdef /migration32"

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\imjpmig8.1" /v hkey /d hklm

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\imjpmig8.1" /v inimapping /d 0

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\imjpmig8.1" /v item /d imjpmig

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\imjpmig8.1" /v key /d software\microsoft\windows\currentversion\run

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002a"

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002a" /v command /d "c:\windows\system32\ime\tintlgnt\tintsetp.exe /imename"

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002a" /v hkey /d hklm

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002a" /v inimapping /d 0

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002a" /v item /d tintsetp

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002a" /v key /d software\microsoft\windows\currentversion\run

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002async"

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002async" /v command /d ""c:\windows\ime\imjp8_1\imjpmig.exe" /spoil /remadvdef /migration32"

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002async" /v hkey /d hklm

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002async" /v inimapping /d 0

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002async" /v item /d tintsetp

reg add "hkey_local_machine\software\microsoft\shared tools\msconfig\startupreg\phime2002async" /v key /d software\microsoft\windows\currentversion\run

del "c:\documents and settings\all users\「开始」菜单\程序\启动\*.*" /q /f

del "c:\documents and settings\default user\「开始」菜单\程序\启动\*.*" /q /f

del "%userprofile%\「开始」菜单\程序\启动\*.*" /q /f

start c:\windows\pchealth\helpctr\binaries\msconfig.exe


第三招:清除所有多余的桌面右键菜单

很多显卡在装了驱动之后,桌面右键会多出一项或多项菜单,这些功能并不实用,

还会拖慢右键的弹出速度,我们最好清除它。

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

@ echo off

title 清除所有多余的桌面右键菜单

color 1a

pause

regsvr32 /u /s igfxpph.dll

reg delete hkey_classes_root\directory\background\shellex\contextmenuhandlers /f

reg add hkey_classes_root\directory\background\shellex\contextmenuhandlers\new /ve /d {d969a300-e7ff-11d0-a93b-00a0c90f2719}

reg delete hkey_local_machine\software\microsoft\windows\currentversion\run /v hotkeyscmds /f

reg delete hkey_local_machine\software\microsoft\windows\currentversion\run /v igfxtray /f


第四招:c盘转换为ntfs格式

ntfs格式是winxp推荐使用的格式。转换为ntfs格式能提高硬盘存储的

效率,并可设置访问权限以保护文件。但ntfs格式的分区在dos/win9x

下均不能被识别,可能会给初级用户造成不便。如无必要请不要转换。

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

@ echo off

color 1b

title c盘转换为ntfs格式

convert c:/fs:ntfs


第五招:给每个盘添加卷标

此命令将为本机每个盘都添加上卷标,一般是用在新机上面。

以引导初学者更合理地支配他们的硬盘空间。

方法如上,复制内容见下(红色部分)

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

@ echo off

title 给每个盘添加卷标

color 1b

pause

c:

label c:winxp

label d:软件

label e:影视

label f:游戏

label g:
资料

label h:备份

d:

md 本机驱动程序

md 本机驱动程序\0.directx

md 本机驱动程序\1.主板芯片组

md 本机驱动程序\2.显卡

md 本机驱动程序\3.声卡

md 本机驱动程序\4.网卡

md 本机驱动程序\5.摄像头


第六招:关闭有害端口

提高安全性,让你上网更加无后顾之忧!!!

第六招不让发了,太长,传个做好的上来试试!

下载地址如下:

http://clubpic2.chinaren.com/uploadfile/200612/595/bxkruqyt.bat

第七招:威金病毒批处理专杀

“威金”病毒主要通过网络共享传播,病毒会感染电脑中所有的.exe可执行文件,传播速度十分迅速。“威金”病毒运行后,修改注册表自启动项,以使自己随系统一起运行,向系统文件目录下生成以下病毒文件:

program files\svhost32.exe

program files\micorsoft\svhost32.exe

windows\explorer.exe

windows\logo1_exe

windows\rundll32.exe

windows\rundl132.exe

windows\intel\rundl132.exe

windows\dll.dll

病毒新变种还会自动从网站下载“天堂杀手”以及“qq大盗(qqpass)”等10余种木马病毒,企图盗取包括天堂、征·途、梦幻西游、传奇等多种流行网游以及qq的帐号、密码。

方法如上,复制内容见下(红色部分)

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

@echo off

del c:\winnt\logo1_.exe

del c:\windows\logo1_.exe

del c:\winnt\0sy.exe

del c:\windows\0sy.exe

del c:\winnt\1sy.exe

del c:\windows\1sy.exe

del c:\winnt\2sy.exe

del c:\windows\2sy.exe

del c:\winnt\3sy.exe

del c:\windows\3sy.exe

del c:\winnt\4sy.exe

del c:\windows\4sy.exe

del c:\winnt\5sy.exe

del c:\windows\5sy.exe

del c:\winnt\6sy.exe

del c:\windows\6sy.exe

del c:\winnt\7sy.exe

del c:\windows\7sy.exe

del c:\winnt\8sy.exe

del c:\windows\8sy.exe

del c:\winnt\9sy.exe

del c:\windows\9sy.exe

del c:\winnt\rundl132.exe

del c:\windows\rundl132.exe

net share c$ /d

net share d$ /d

net share e$ /d

net share f$ /d

net share g$ /d

net share h$ /d

net share i$ /d

net share j$ /d

net share admin$ /d

net share ipc$ /d

del c:\winnt\logo1_.exe

del c:\windows\logo1_.exe

del c:\windows\vdll.dll

del c:\winnt\vdll.dll

del c:\windows\tdll.dll

del c:\winnt\tdll.dll

del c:\windows\dll.dll

del c:\winnt\dll.dll

del c:\winnt\kill.exe

del c:\windows\kill.exe

del c:\winnt\sws32.dll

del c:\windows\sws32.dll

del c:\winnt\rundl132.exe

del c:\windows\rundl132.exe

echo.

echo.

echo.

echo. *****************************

echo.

echo. 金╬刚【电脑诊所】正在为您查毒...请不要关闭......

echo.

echo. *****************************

echo.

echo.

echo.

echo.

ping 127.0.0.1 -n 5

del c:\winnt\logo1_.exe

del c:\windows\logo1_.exe

del c:\windows\vdll.dll

del c:\winnt\vdll.dll

del c:\windows\dll.dll

del c:\winnt\dll.dll

del c:\windows\tdll.dll

del c:\winnt\tdll.dll

del c:\winnt\kill.exe

del c:\windows\kill.exe

del c:\winnt\sws32.dll

del c:\windows\sws32.dll

del c:\winnt\rundl132.exe

del c:\windows\rundl132.exe

echo.

echo.

echo.

echo. *****************************

echo.

echo. 金╬刚【电脑诊所】正在为您查毒...请不要关闭......

echo.

echo. *****************************

echo.

echo.

echo.

echo.

ping 127.0.0.1 -n 5

del c:\winnt\logo1_.exe

del c:\windows\logo1_.exe

del c:\windows\vdll.dll

del c:\winnt\vdll.dll

del c:\windows\dll.dll

del c:\winnt\dll.dll

del c:\windows\tdll.dll

del c:\winnt\tdll.dll

del c:\winnt\kill.exe

del c:\windows\kill.exe

del c:\winnt\sws32.dll

del c:\windows\sws32.dll

del c:\windows\0sy.exe

del c:\winnt\1sy.exe

del c:\windows\1sy.exe

del c:\winnt\2sy.exe

del c:\windows\2sy.exe

del c:\winnt\3sy.exe

del c:\windows\3sy.exe

del c:\winnt\4sy.exe

del c:\windows\4sy.exe

del c:\winnt\5sy.exe

del c:\windows\5sy.exe

del c:\winnt\6sy.exe

del c:\windows\6sy.exe

del c:\winnt\7sy.exe

del c:\windows\7sy.exe

del c:\winnt\8sy.exe

del c:\windows\8sy.exe

del c:\winnt\9sy.exe

del c:\windows\9sy.exe

del c:\winnt\rundl132.exe

del c:\windows\rundl132.exe

del c:\winnt\logo1_.exe

del c:\winnt\rundl132.exe

del c:\winnt\bootconf.exe

del c:\winnt\kill.exe

del c:\winnt\sws32.dll

del c:\winnt\dll.dll

del c:\winnt\vdll.dll

del c:\winnt\tdll.dll

del c:\winnt\system32\shellext\svchs0t.exe

del c:\program files\internet explorer\0sy.exe

del c:\program files\internet explorer\1sy.exe

del c:\program files\internet explorer\2sy.exe

del c:\program files\internet explorer\3sy.exe

del c:\program files\internet explorer\4sy.exe

del c:\program files\internet explorer\5sy.exe

del c:\program files\internet explorer\6sy.exe

del c:\program files\internet explorer\7sy.exe

del c:\program files\internet explorer\8sy.exe

del c:\program files\internet explorer\9sy.exe

del c:\winnt\system32\logo1_.exe

del c:\winnt\system32\rundl132.exe

del c:\winnt\system32\bootconf.exe

del c:\winnt\system32\kill.exe

del c:\winnt\system32\sws32.dll

del c:\windows\logo1_.exe

del c:\windows\rundl132.exe

del c:\windows\bootconf.exe

del c:\windows\kill.exe

del c:\windows\sws32.dll

del c:\windows\dll.dll

del c:\windows\vdll.dll

del c:\windows\tdll.dll

del c:\windows\system32\shellext\svchs0t.exe

del c:\windows\system32\logo1_.exe

del c:\windows\system32\rundl132.exe

del c:\windows\system32\bootconf.exe

del c:\windows\system32\kill.exe

del c:\windows\system32\sws32.dll

del c:\_desktop.ini /f/s/q/a

del d:\_desktop.ini /f/s/q/a

del e:\_desktop.ini /f/s/q/a

del f:\_desktop.ini /f/s/q/a

del g:\_desktop.ini /f/s/q/a

del h:\_desktop.ini /f/s/q/a

del i:\_desktop.ini /f/s/q/a

del j:\_desktop.ini /f/s/q/a

del k:\_desktop.ini /f/s/q/a

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com