溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

批處理 bat編寫強(qiáng)大的菜單

發(fā)布時(shí)間:2020-06-27 14:07:06 來(lái)源:網(wǎng)絡(luò) 閱讀:8168 作者:huangjinjin520 欄目:開(kāi)發(fā)技術(shù)

@echo off
echo.
echo.
color a
echo ##
echo ┏━━┓我 ●╭○╮ 我┏━━┓
echo ┃天長(zhǎng)┃愛(ài) ★ /█∨█\ ★ 想┃永遠(yuǎn)┃
echo ┃地久┃你 ∏ ∏ 你┃擁有┃
echo ┗━━┛. 我愛(ài)你一萬(wàn)年 ┗━━┛
echo 感情進(jìn)度條......
echo ┏─────────────────────────────────────┓
echo │▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 100 │
echo ┗─────────────────────────────────────┛
echo.
echo 歡 迎 進(jìn) 入 維 護(hù) 工 具 菜 單 !
echo.
echo.
echo #
#
pause
cls
@echo off
:start
echo #**#
echo.
echo 歡 迎 來(lái) 到 DIY 批 處 理
echo 請(qǐng)選擇
echo.
echo 0-離開(kāi)/1-轉(zhuǎn)到命令行/2-注冊(cè)表/3-組策略/4-設(shè)備管理器/5-計(jì)算機(jī)管理/6-任務(wù)管理器
echo.
echo /7-啟動(dòng)項(xiàng)管理/8-遠(yuǎn)程桌面/9-服務(wù)管理/a-控制面版/b-磁盤管理/c-本機(jī)共享查看
echo.
echo /d-查看局域網(wǎng)共享/e-打開(kāi)網(wǎng)絡(luò)連接/f-攝象頭/g-刷新注冊(cè)表/q-檢查網(wǎng)絡(luò)連接ping網(wǎng)易
echo.
echo /h-網(wǎng)吧系統(tǒng)服務(wù)優(yōu)化/i-清理系統(tǒng)垃圾/j-注銷計(jì)算機(jī)/k--我的電腦屬性/l-關(guān)閉計(jì)算機(jī)
echo ##
echo /m-本地磁盤C/n-本地磁盤D/o-本地磁盤E/p-本地磁盤F/q-保留(空)
echo.
echo #
#
echo 提示:改IP選擇 e 改電腦名選擇 k
echo (維護(hù)版)如需添加或錯(cuò)誤,請(qǐng)聯(lián)系我謝謝!
echo.
echo.
set /p UserChoice=
if "%UserChoice%"=="0" goto 0
if "%UserChoice%"=="1" goto 1
if "%UserChoice%"=="2" goto 2
if "%UserChoice%"=="3" goto 3
if "%UserChoice%"=="4" goto 4
if "%UserChoice%"=="5" goto 5
if "%UserChoice%"=="6" goto 6
if "%UserChoice%"=="7" goto 7
if "%UserChoice%"=="8" goto 8
if "%UserChoice%"=="9" goto 9
if "%UserChoice%"=="a" goto a
if "%UserChoice%"=="b" goto b
if "%UserChoice%"=="c" goto c
if "%UserChoice%"=="d" goto d
if "%UserChoice%"=="e" goto e
if "%UserChoice%"=="f" goto f
if "%UserChoice%"=="g" goto g
if "%UserChoice%"=="h" goto h
if "%UserChoice%"=="i" goto i
if "%UserChoice%"=="j" goto j
if "%UserChoice%"=="k" goto k
if "%UserChoice%"=="l" goto l
if "%UserChoice%"=="m" goto m
if "%UserChoice%"=="n" goto n
if "%UserChoice%"=="o" goto o
if "%UserChoice%"=="p" goto p
if "%UserChoice%"=="q" goto q
if "%UserChoice%"=="r" goto r
if "%UserChoice%"=="s" goto s
if "%UserChoice%"=="t" goto t
if "%UserChoice%"=="u" goto u
if "%UserChoice%"=="v" goto v
if "%UserChoice%"=="w" goto w
if "%UserChoice%"=="x" goto x
if "%UserChoice%"=="y" goto y
if "%UserChoice%"=="z" goto z
cls
echo.
echo.
echo 請(qǐng)正確選擇,如果是字母請(qǐng)注意大小寫。
echo 你打的蝦米東西呀?亂敲不起作用撒。呵呵。
goto start

:0
exit
:1
@color 07
@%windir%\system32\cmd.exe
@cls
@exit
:2
@%windir%\system32\regedt32.exe
cls
goto start
:3
@%windir%\system32\gpedit.msc
cls
goto start
:4
@%windir%\system32\devmgmt.msc
cls
goto start
:5
@%windir%\system32\compmgmt.msc
cls
goto start
:6
@%windir%\system32\taskmgr.exe
cls
goto start
:7
@%windir%\PCHealth\HelpCtr\Binaries\msconfig.exe
cls
goto start
:8
@%windir%\system32\mstsc.exe
cls
goto start
:9
@%windir%\system32\services.msc
cls
goto start
:a
@%windir%\system32\control.exe
cls
goto start
:b
@%windir%\system32\diskmgmt.msc
cls
goto start
:c
@%windir%\system32\fsmgmt.msc
cls
goto start
:d
net share >>%windir%\system32\share.txt
type %windir%\system32\share.txt
pause
cls
goto start
:e
@%windir%\system32\ncpa.cpl
cls
goto start
:f
%systemroot%\amcap.exe
cls
goto start
:g
@echo off
@gpupdate
@taskkill /f /IM explorer.exe
start explorer
cls
goto start
:k
sysdm.cpl
cls
goto start
:h
cls
echo 網(wǎng)吧服務(wù)優(yōu)化中…………OK!
echo 你要優(yōu)化服務(wù)是嗎,此優(yōu)化只適合網(wǎng)吧,如果ISCIS沒(méi)裝請(qǐng)裝好再選擇此服務(wù)優(yōu)化。
pause
echo 網(wǎng)吧服務(wù)優(yōu)化中…………OK!
sc config Alerter start= DISABLED
sc config ALG start= DISABLED
sc config AppMgmt start= DEMAND
sc config aspnet_state start= DEMAND
sc config AudioSrv start= AUTO
sc config BITS start= DEMAND
sc config Browser start= DISABLED
sc config CiSvc start= DEMAND
sc config ClipSrv start= DISABLED
sc config COMSysApp start= DEMAND
sc config CryptSvc start= DEMAND
sc config DcomLaunch start= AUTO
sc config Dhcp start= DISABLED
sc config dmadmin start= DEMAND
sc config dmserver start= DEMAND
sc config Dnscache start= DISABLED
sc config ERSvc start= DISABLED
sc config Eventlog start= AUTO
sc config EventSystem start= DEMAND
sc config FastUserSwitchingCompatibility start= DISABLED
sc config helpsvc start= DISABLED
sc config HidServ start= DISABLED
sc config HTTPFilter start= DEMAND
sc config ImapiService start= DEMAND
sc config lanmanserver start= DISABLED
sc config lanmanworkstation start= AUTO
sc config LmHosts start= DISABLED
sc config Messenger start= DISABLED
sc config mnmsrvc start= DEMAND
sc config MSDTC start= DEMAND
sc config MSiSCSI start= DISABLED
sc config MSIServer start= DEMAND
sc config NBExpl start= DISABLED
sc config NetDDE start= DISABLED
sc config NetDDEdsdm start= DISABLED
sc config Netlogon start= DEMAND
sc config Netman start= DEMAND
sc config Nla start= DISABLED
sc config NtLmSsp start= DEMAND
sc config NtmsSvc start= DEMAND
sc config NVSvc start= DISABLED
sc config ose start= DEMAND
sc config PlugPlay start= AUTO
sc config PolicyAgent start= DISABLED
sc config ProtectedStorage start= DISABLED
sc config RasAuto start= DEMAND
sc config RasMan start= DISABLED
sc config RDSessMgr start= DEMAND
sc config RemoteAccess start= DISABLED
sc config RemoteRegistry start= DISABLED
sc config RpcLocator start= DEMAND
sc config RpcSs start= AUTO
sc config RSVP start= DEMAND
sc config SamSs start= DEMAND
sc config SCardSvr start= DEMAND
sc config Schedule start= DISABLED
sc config seclogon start= DISABLED
sc config SENS start= DEMAND
sc config SharedAccess start= DISABLED
sc config ShellHWDetection start= DISABLED
sc config Spooler start= DISABLED
sc config srservice start= DISABLED
sc config SSDPSRV start= DISABLED
sc config stisvc start= DEMAND
sc config SwPrv start= DEMAND
sc config SysmonLog start= DEMAND
sc config TapiSrv start= DISABLED
sc config TermService start= DISABLED
sc config Themes start= DEMAND
sc config TlntSvr start= DISABLED
sc config TrkWks start= DISABLED
sc config UMWdf start= DISABLED
sc config upnphost start= DEMAND
sc config UPS start= DEMAND
sc config usnsvc start= DEMAND
sc config VSS start= DEMAND
sc config W32Time start= DISABLED
sc config WebClient start= DISABLED
sc config winmgmt start= AUTO
sc config WmdmPmSN start= DEMAND
sc config Wmi start= DEMAND
sc config WmiApSrv start= DEMAND
sc config wscsvc start= DISABLED
sc config wuauserv start= DISABLED
sc config WZCSVC start= DISABLED
sc config xmlprov start= DEMAND
cls
goto start
:i
@echo off
echo 正在幫您清除系統(tǒng)垃圾文件,請(qǐng)稍等......
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*.*"
cls
echo 清除系統(tǒng)垃圾完成!
goto start
:j
shutdown -l -t 60
:l
shutdown -s -t 0
:m
start c:\
cls
goto start
:n
start d:\
cls
goto start
:o
start e:\
cls
goto start
:p
start f:\
cls
goto start
:q
ping www.163.com >d:\PING網(wǎng)易公司連接情況.txt
cls
start d:\PING網(wǎng)易公司連接情況.txt
goto start

批處理 bat編寫強(qiáng)大的菜單

向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI