Batch maintenance tool menu implementation

Source: Internet
Author: User

Copy codeThe Code is as follows: @ echo off
Echo.
Echo.
Color
Echo success when I ● fail ○ fail me when fail
Echo★/Too many connections \★Always renew
Echo has been around for a long time.
Echo has never been lost. I love you for 10 thousand years.
Echo emotional progress bar ......
Echo ┏ ── ─
Echo │ echo ▉ echo
Echo ┗ ── ─
Echo.
Echo is welcome to the fenglonglian State maintenance equipment and food ticket!
Echo.
Echo.
Pause
Cls
@ Echo off
: Start
Echo.
Echo welcomed the DIY approval process of fenglonglian state.
Select echo
Echo.
Echo 0-exit/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-local sharing View
Echo.
Echo/d-view LAN sharing/e-Open Network Connection/f-camera Header/g-Refresh registry/q-Check network connection ping Netease
Echo.
Echo/h-Internet cafe System Service optimization/I-clear System junk/j-log out of computer/k -- my computer properties/l-Disable computer
Echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
Echo/m-Local disk C/n-Local disk D/o-Local disk E/p-Local disk F/q-retain (null)
Echo.
Echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
Echo prompt: Change IP address to e, change computer name to k
Echo. used. I like it, but I don't have any top posts. Rotten JJ
If you need to add or make an error with echo (maintenance version), 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
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.
Select echo correctly. If it is a letter, pay attention to Case sensitivity.
Echo: What's your Xiami? Random Knock does not work. Haha.
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
:
@ % 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 \ cmd.txt
Type % windir % \ system32 \ cmd.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 assumer.exe
Start explorer
Cls
Goto start
: K
Sysdm. cpl
Cls
Goto start
: H
Cls
Echo Internet cafe service is being optimized ............ OK!
Echo: Do you want to optimize the service? This optimization is only suitable for Internet cafes. If ISCIS is not installed, please install it and choose this service optimization.
Pause
Echo Internet cafe 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 clear System junk files. Please wait ......
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 cleared system garbage!
Goto start
: J
Shutdown-l-t 60
: L
Shutdown-s-t 0
: M
Start c :\
Cls
Goto start
: N
Start d :\
Cls
Goto start

Start e :\
Cls
Goto start
: P
Start f :\
Cls
Goto start
: Q
Ping www.163.com> d: \ ping .txt
Cls
Start d: \ ping .txt
Goto start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.