欢迎光临haoDIY - DIY制作从这里开始!

diy音响功放音箱胆机电子单片机电脑科技小发明机器人制作_haoDIY

haodiy微信
当前位置: 主页 > 最新DIY > 综合DIY >

【原创】制作电脑优化器

时间:2017-07-06 19:39来源:本站 作者:haodiy 点击:
笔者的电脑最近老是卡。于是笔者自制了一个小工具来改善电脑。下面,我们来分享一下,希望对你有帮助。 (本程序由笔者亲自编写,绝对不是网上转载!) 开始制作

【原创】制作电脑优化器


笔者的电脑最近老是卡。于是笔者自制了一个小工具来改善电脑。下面,我们来分享一下,希望对你有帮助。

 (本程序由笔者亲自编写,绝对不是网上转载!

开始制作

1.新建一个文本文档,复制红色内容

echo off

Color 5A

Title 系统优化器(孙震宇研发)未经允许,严禁转载!
echo off
del /s /f /q "卸载程序.bat"
Echo @Echo off  >>卸载程序.bat
Echo del /f /s /q  "用户使用声明.txt"  >>卸载程序.bat
Echo del /f /s /q  "系统信息.bat"  >>卸载程序.bat
Echo del /f /s /q  "卸载程序.bat"  >>卸载程序.bat
Echo del /f /s /q  "电脑优化器.bat"  >>卸载程序.bat
Echo Exit>>卸载程序.bat
echo 使用声明.txt
Echo>>用户使用声明.txt
Echo 尊敬的用户:>>用户使用声明.txt
Echo    您好!>>用户使用声明.txt
Echo    谢谢您使用本程序,电脑优化器的主要功能是清理系统垃圾文件文件,并兼有冗余注册表的清理功能,即使这样,它的其功能不尽完美,希望用户能够予以谅解!本程序已经过作者的反复调试,在使用过程中并未出现任何异常问题,故请用户放心使用!>>用户使用声明.txt
Echo    如果在您的使用过程中有什么建议或者是意见请随时联系作者。>>用户使用声明.txt
echo                                                   作者qq:935444273>>用户使用声明.txt


Echo  ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓

Echo  ┃                 垃圾/隐私/系统临时文件/等清理                            ┃

Echo  ┃                                                                          ┃

Echo  ┃                                系统优化器                                ┃

Echo  ┃                              版本:V-007                                 ┃

Echo  ┃        请根据以下操作提示使用本程序,在使用本程序前建议用户仔细阅读      ┃

Echo  ┃    “用户使用声明”,在使用过程中如出现任何不可预知的错误概不负责!      ┃

Echo  ┃                                                                          ┃

Echo  ┃        [1] 进入系统垃圾清理模式                                          ┃

Echo  ┃        [2] 删除所有盘符下的隐私                                          ┃

Echo  ┃        [3] 删除所有盘符下的系统临时文件                                  ┃

Echo  ┃        [4] 全盘痕迹清理                                                  ┃

Echo  ┃        [5] 注册表清理                                                    ┃

Echo  ┃        [6] IE缓存清理                                                    ┃

Echo  ┃        [7] 清理系统升级补丁留下来的反安装目录                            ┃

Echo  ┃        [8] 清除常见的软件垃圾项目 (按默认目录)                           ┃                                     

Echo  ┃        [9] 清理系统盘无用文件                                            ┃                     

Echo  ┃        [0] 退出                                                          ┃

Echo  ┃        [10]查看系统信息                                                   ┃

Echo  ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

Echo.

Set /p char= 请输入您的选择(1/2/3/4/5/6/7/8/9/0):

If "%char%"=="" Goto loop

If "%char%"=="1" Goto loop1

If "%char%"=="2" Goto loop2

If "%char%"=="3" Goto loop3

If "%char%"=="4" Goto loop4

If "%char%"=="5" Goto loop5

If "%char%"=="6" Goto loop6

If "%char%"=="7" Goto loop7

If "%char%"=="8" Goto loop8

If "%char%"=="9" Goto loop9

If "%char%"=="0" Goto loop0

If "%char%"=="10" Goto loop10

:loop1

Title 进入系统垃圾清理模式

echo 正在清理,请稍候......

del /f /s /q "%SystemRoot%\*._mp"

del /f /s /q "%SystemRoot%\*.bak"

del /f /s /q "%SystemRoot%\*.log"

del /f /s /q "%SystemRoot%\*.dmp"

del /f /s /q "%SystemRoot%\*.gid"

del /f /s /q "%SystemRoot%\*.old"

del /f /s /q "%SystemRoot%\*.query"

del /f /s /q "%SystemRoot%\*.tmp"

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

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

del /f /s /q %systemdrive%\recycled\*.*

rd /s /q %windir%\temp & md %windir%\temp

rd /s /q "%SystemRoot%\Downloaded Program Files"

rd /s /q "%SystemRoot%\Offline Web Pages"

rd /s /q "%systemroot%\Connection Wizard"

rd /s /q "%SystemRoot%\SoftwareDistribution\Download"

rd /s /q "%SystemRoot%\Assembly"

rd /s /q "%SystemRoot%\Help"

rd /s /q "%SystemRoot%\ReinstallBackups"

del /s /q "%SystemRoot%\inf\*.pnf"

del /f /s /q "%SystemRoot%\inf\InfCache.1"

dir %SystemRoot%\inf\*.* /ad/b >%SystemRoot%\vTmp.txt

for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemRoot%\inf\%%a"

del /f /s /q "%SystemRoot%\driver?\*.pnf"

del /f /s /q "%SystemRoot%\driver?\InfCache.1"

del /f /s /q "%SystemDrive%\driver?\*.pnf"

del /f /s /q "%SystemDrive%\driver?\InfCache.1"

rd /s /q "%SystemRoot%\temp" & md "%SystemRoot%\temp"

del /f /s /q "%SystemRoot%\Prefetch\*.*"

del /f /s /q "%SystemRoot%\minidump\*.*

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%\*.tmp

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

del /f /q "%ALLUSERSPROFILE%\Documents\DrWatson\*.*">nul 2>nul

del /f /q "%USERPROFILE%\Application Data\Microsoft\Office\Recent\*.lnk">nul 2>nul

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

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop2

Title 删除所有盘符下的隐私

echo 正在清理,请稍候.....

del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"

del /f /s /q "%userprofile%\Local Settings\Temp\*.*"

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

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop3

Title 删除所有盘符下的系统临时文件

echo 正在清理,请稍候.....

del /f /s /q "%userprofile%\Locals~1\Tempor~1\*.*"

del /f /s /q "%userprofile%\Locals~1\Temp\*.*"

del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"

del /f /s /q "%userprofile%\Local Settings\Temp\*.*"

rd /s /q "%userprofile%\Local Settings\Temp\" & md "%userprofile%\Local Settings\Temp\"

del /f /s /q "%userprofile%\cookies\*.*"

del /f /s /q "%userprofile%\recent\*.*"

del /f /s /q "%appdata%\Microsoft\Windows\cookies\*.*"

del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*"

del /f /s /q "%Temp%\*.*"

del /f /s /q "%Tmp%\*.*"

del /f /s /q "%HomePath%\..\IconCache.db"

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop4

Title 全盘痕迹清理

echo 正在清理,请稍候.....

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\Folder" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.txt" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.rar" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.mp3" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.jpg" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.ini" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.bmp" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.doc" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.eip" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.htm" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.ico" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.inf" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.gif" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.wav" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.xls" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.rm" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\*" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\mp3" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\rm" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\wav" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\bat" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\exe" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\eip" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\ico" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\htm" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\jpg" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{5E6AB780-7743-11CF-A12B-00AA004AE837}\Count" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{75048700-EF1F-11D0-9888-006097DEACF9}\Count" /va /f >nul 2>nul

reg delete "HKCU\Software\WinRAR\ArcHistory" /va /f >nul 2>nul

reg delete "HKCU\Software\WinRAR\DialogEditHistory\ArcName" /va /f >nul 2>nul

reg delete "HKCU\Software\WinRAR\DialogEditHistory\ExtrPath" /va /f >nul 2>nul

@echo off&setlocal enabledelayedexpansion

for /f "delims=\" %%i in ('fsutil fsinfo drives^|find   ""') do (

set drive_=%%i

)

fsutil fsinfo drivetype !drive_:~0,2!|find "固定">nul && del /a /f /q /s !drive_:~0,2!\Thumbs.db

reg delete "HKCU\Software\Microsoft\MediaPlayer\Player\RecentFileList" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Microsoft Management Console\Recent File List" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Office\11.0\PowerPoint\Recent File List" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Office\11.0\Excel\Recent File" /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Office\11.0\Word\Data" /v "Settings" /f >nul 2>nul

reg delete "HKCU\Software\VMware, Inc." /va /f >nul 2>nul

reg delete "HKCU\Software\Microsoft\Internet Explorer\TypedUrls" /va /f >nul 2>nul

del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"

del /f /s /q "%userprofile%\Local Settings\Temp\*.*"

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop5

Title 注册表清理

echo 正在清理,请稍候.....

for /f "tokens=3*" %%a in (%temp%\cleantmp.txt) do (

for /d %%i in ("%%a %%b\*.*") do rd /s /q "%%i"

del /f /s /q "%%a %%b\*.*"

)

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop6

Title IE缓存清理

echo 正在清理,请稍候.....

echo 1.检查缓存

reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cache>%temp%\cleantmp.txt

reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cookies>>%temp%\cleantmp.txt

reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v History>>%temp%\cleantmp.txt

reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v NetHood>>%temp%\cleantmp.txt

reg query "HKCU\software\Microsoft\Windows\CurrentVersion\Ex

echo 2.删除缓存

for /f "tokens=3*" %%a in (%temp%\cleantmp.txt) do (

for /d %%i in ("%%a %%b\*.*") do rd /s /q "%%i"

del /f /s /q "%%a %%b\*.*"

)

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop7

Title 清理系统升级补丁留下来的反安装目录

echo 正在清理,请稍候.....

dir %SystemRoot%\$*$ /ad/b >%SystemRoot%\vTmp.txt

for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemRoot%\%%a"

dir %SystemRoot%\$*$ /ad/b >%SystemRoot%\vTmp.txt

for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemRoot%\%%a"

dir %SystemRoot%\$*$ /ad/b >%SystemRoot%\vTmp.txt

for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemRoot%\%%a"

dir %SystemRoot%\$*$ /ad/b >%SystemRoot%\vTmp.txt

for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemRoot%\%%a"

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop8

Title 清除常见的软件垃圾项目 (按默认目录)

echo 正在清理,请稍候.....

rd /s /q "%ProgramFiles%\InstallShield Installation Information"

Ren "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" realsched.ex_

Del "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe"

Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v TkBellExe /f

rd /s /q "%ProgramFiles%\Tencent\QQGame\Download"

taskkill /f /im "TIMPlatform.exe" /t

del /f /s /q "%ProgramFiles%\Tencent\QQ\TIMPlatform.exe"

del /f /s /q "%ProgramFiles%\Kaspersky Lab\*.tmp"

rd /s /q "%ProgramFiles%\InstallShield Installation Information"

Ren "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" realsched.ex_

Del "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe"

Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v TkBellExe /f

rd /s /q "%ProgramFiles%\Tencent\QQGame\Download"

taskkill /f /im "TIMPlatform.exe" /t

del /f /s /q "%ProgramFiles%\Tencent\QQ\TIMPlatform.exe"

del /f /s /q "%ProgramFiles%\Kaspersky Lab\*.tmp"

rd /s /q "%ProgramFiles%\InstallShield Installation Information"

Ren "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe" realsched.ex_

Del "%ProgramFiles%\Common~1\Real\Update_OB\realsched.exe"

Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v TkBellExe /f

rd /s /q "%ProgramFiles%\Tencent\QQGame\Download"

taskkill /f /im "TIMPlatform.exe" /t

del /f /s /q "%ProgramFiles%\Tencent\QQ\TIMPlatform.exe"

del /f /s /q "%ProgramFiles%\Kaspersky Lab\*.tmp"

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop9

Title 清理系统盘无用文件

echo 正在清理,请稍候.....

defrag %systemdrive% -b

del %SystemRoot%\vTmp.txt

defrag %systemdrive% -b

del %SystemRoot%\vTmp.txt

defrag %systemdrive% -b '

del %SystemRoot%\vTmp.txt

del /f /q "%SystemDrive%\*.chk"

dir %SystemDrive%\found.??? /ad/b >%SystemRoot%\vTmp.txt

for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemDrive%\%%a"

del /f /q "%SystemDrive%\*.chk"

dir %SystemDrive%\found.??? /ad/b >%SystemRoot%\vTmp.txt

for /f %%a in (%SystemRoot%\vTmp.txt) do rd /s /q "%SystemDrive%\%%a"

Echo 请按任意键返回到菜单......

pause>nul

Goto loop

:loop0

:loop10
echo 调用系统信息...
echo
Title 查看系统信息

Echo 您的系统信息 >>系统信息.txt
Echo                                            %date%%time% >>系统信息.txt
Echo.
For /f "tokens=2 delims=:" %%a in ('ipconfig ^| find /i "IP Address"') do set ip=%%a
set ip=%ip:~1%
Echo 当前计算机的IP是: %ip%  >>系统信息.txt
net share | find /i "admin$">nul & If errorlevel 1  (Goto 1) else Echo 你电脑开启了admin$共享 >>系统信息.txt
:1
net share | find /i "ipc$">nul & If errorlevel 1 (Goto 2) else Echo 你电脑开启了ipc$共享 >>系统信息.txt
:2
net share | find /i "c:\">nul & If errorlevel 1 (Goto 3) else Echo 你电脑开启了c$共享 >>系统信息.txt
:3
net share | find /i "d$">nul & If errorlevel 1 (Goto 4) else Echo 你电脑开启了d$共享 >>系统信息.txt
:4
net share | find /i "e$">nul & If errorlevel 1 (Goto 5) else Echo 你电脑开启了e$共享 >>系统信息.txt
:5
net share | find /i "f$">nul & If errorlevel 1 (Goto 6) else Echo 你电脑开启了f$共享 >>系统信息.txt
:6
tasklist | find /i "Vstskmgr.exe">nul
If errorlevel 1 Goto 7
Echo 你电脑安装的是MCAFee杀毒软件 >>系统信息.txt
:7
tasklist | find /i "nod32kui.exe">nul
If errorlevel 1 Goto 8
Echo 你电脑安装的是NOD 32杀毒软件 >>系统信息.txt
:8
tasklist | find /i "KAV32.exe">nul
If errorlevel 1 Goto 9
Echo 你电脑安装的是金山毒霸杀毒软件 >>系统信息.txt
:9
tasklist | find /i "avp.exe">nul
If errorlevel 1 Goto 10
Echo 你电脑安装的是卡巴斯基杀素软件 >>系统信息.txt
:10
tasklist | find /i "RavTask.exe">nul
If errorlevel 1 Goto 11
Echo 你电脑安装的是瑞星杀毒软件 >>系统信息.txt
:11
tasklist | find /i "KvXP.kxp">nul
If errorlevel 1 Goto 12
Echo 你电脑安装的是江民杀毒软件  >>系统信息.txt
:12
tasklist | find /i "TTPlayer.exe">nul
If errorlevel 1 Goto 13
Echo 你在播放千千静听 >>系统信息.txt
:13
tasklist | find /i "qq.exe">nul
If errorlevel 1 Goto 14
Echo 你在上qq >>系统信息.txt &Goto 15
:14
Echo 你现在没有上qq >>系统信息.txt
:15
tasklist | find /i "iexplore.exe">nul
If errorlevel 1 Goto 16
Echo 你正在浏览网页 >>系统信息.txt
:16
net start | find /i "telnet">nul
If errorlevel 1 Goto 17
Echo 你开启了telnet服务(危险) >>系统信息.txt
:17
net start | find /i "Terminal Services">nul
If errorlevel 1 Goto w
Echo 你开启了远程控制服务Terminal Services(高危险) >>系统信息.txt
:w
systeminfo >>系统信息.txt
For %%i in (c:,d:,e:,f:,g:,h:,i:,j:,k do dir /as /ah %%i >>系统信息.txt
start 系统信息.txt  


 

将它保存,重命名为“系统优化.bat”后缀名一定要是“.bat”!!!

双击运行即可。

再回头看看电脑,是不是运转如飞了呢?!

笔者的QQ:935444273

好友时一定要在用户名的后面加上“编程爱好者”

笔者将提供电脑优化的各种程序,让你大“编程”福!!!

赞一下
(0)
0%
一般般
(0)
0%
相关文章
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
用户名: 验证码: 点击我更换图片
栏目列表
推荐DIY