In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you how to use batch processing to achieve the maintenance tool menu, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article. Let's learn about it!
The code is as follows:
@ echo off
Echo.
Echo.
Color a
Echo ┏━━┓, I ●╭○╮, ┏━━┓.
Echo ┃ long ┃ loves ★ / █∨█\ ★ wants ┃ to ┃ forever
Echo ┃, ┃, you ∏ ∏, your ┃ owns ┃.
Echo ┗━━┛. I love you for ten thousand years ┗━━┛
Echo emotional progress bar.
Echo ┏──┓
Echo │▉▉ 100 │
Echo ┗──┛
Echo.
Echo Huan welcome into the maintenance worker's menu of Fenglong Lianbang!
Echo.
Echo.
Pause
Cls
@ echo off
: start
Echo.
Echo Huan welcome to the DIY batch made by Fenglong Lianbang.
Echo, please select
Echo.
Echo 0-leave / 1-go to Command Line / 2-Registry / 3-Group Policy / 4-device Manager / 5-computer Management / 6-Task Manager
Echo.
Echo / 7-Startup item Management / 8-remote Desktop / 9-Service Management / a-Control Panel / b-disk Management / c-Native sharing View
Echo.
Echo / d-View LAN share / e-Open network connection / f-camera head / g-refresh registry / Q-check network connection ping NetEase
Echo.
Echo / h-Internet bar system service optimization / I-clean up the system garbage / j-log off the computer / Kmuri-my computer properties / l-turn off the computer
Echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
Echo / m-Local disk Cramp n-Local disk Dhambo o-Local disk Emax p-Local disk Fbinq-reserved (empty)
Echo.
Echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
Echo prompt: change IP, select e, change computer name, select k
Echo. I used it. I like it again, but I don't have a top post. Rotten JJ
Echo (maintenance version) if you need to add or error, please contact me thank you!
Echo QQ:654525258
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.
Please choose the correct echo. If it is a letter, please pay attention to the case.
Echo, did you beat the shrimp stuff? Knocking doesn't work. He he.
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
The echo Internet bar service is being optimized. OK!
Echo you want to optimize the service, right? this optimization is only suitable for Internet cafes. If ISCIS is not installed, please install it and then choose this service optimization.
Pause
The echo Internet bar service is being optimized. 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 is helping you clean up the junk files on the system. Please wait a moment.
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 garbage removal system completed!
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 NetEase Company connection. Txt
Cls
Start d:\ PING NetEase Company connection information. Txt
Goto start
The above is all the contents of the article "how to use batch to implement the maintenance tool menu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.