侯体宗的博客
  • 首页
  • Hyperf版
  • beego仿版
  • 人生(杂谈)
  • 技术
  • 关于我
  • 更多分类
    • 文件下载
    • 文字修仙
    • 中国象棋ai
    • 群聊
    • 九宫格抽奖
    • 拼图
    • 消消乐
    • 相册

批处理维护工具菜单实现

技术  /  管理员 发布于 7年前   287

复制代码 代码如下:
@echo off
echo.
echo.
color a
echo ┏━━┓我 ●q○r 我┏━━┓
echo ┃天长┃ ★ /∨\ ★ 想┃永远┃
echo ┃地久┃你 ∏ ∏ 你┃拥有┃
echo ┗━━┛. 我爱你一万年 ┗━━┛
echo 感情进度条......
echo ┏─────────────────────────────────────┓
echo │ 100 │
echo ┗─────────────────────────────────────┛
echo.
echo 欢 迎 进 入 枫 龙 联 邦 的 维 护 工 具 菜 单 !
echo.
echo.
pause
cls
@echo off
:start
echo.
echo 欢 迎 来 到 枫 龙 联 邦 制 作 的 DIY 批 处 理
echo 请选择
echo.
echo 0-离开/1-转到命令行/2-注册表/3-组策略/4-设备管理器/5-计算机管理/6-任务管理器
echo.
echo /7-启动项管理/8-远程桌面/9-服务管理/a-控制面版/b-磁盘管理/c-本机共享查看
echo.
echo /d-查看局域网共享/e-打开网络连接/f-摄象头/g-刷新注册表/q-检查网络连接ping网易
echo.
echo /h-网吧系统服务优化/i-清理系统垃圾/j-注销计算机/k--我的电脑属性/l-关闭计算机
echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
echo /m-本地磁盘C/n-本地磁盘D/o-本地磁盘E/p-本地磁盘F/q-保留(空)
echo.
echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
echo 提示:改IP选择 e 改电脑名选择 k
echo. 用了。又喜欢,而没有顶贴的。烂JJ
echo (维护版)如需添加或错误,请联系我谢谢!
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.
echo 请正确选择,如果是字母请注意大小写。
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 网吧服务优化中…………OK!
echo 你要优化服务是吗,此优化只适合网吧,如果ISCIS没装请装好再选择此服务优化。
pause
echo 网吧服务优化中…………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 正在帮您清除系统垃圾文件,请稍等......
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 清除系统垃圾完成!
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网易公司连接情况.txt
cls
start d:\PING网易公司连接情况.txt
goto start


  • 上一条:
    网络PING包查询
    下一条:
    本机每个盘都添加上卷标的命令
  • 昵称:

    邮箱:

    0条评论 (评论内容有缓存机制,请悉知!)
    最新最热
    • 分类目录
    • 人生(杂谈)
    • 技术
    • linux
    • Java
    • php
    • 框架(架构)
    • 前端
    • ThinkPHP
    • 数据库
    • 微信(小程序)
    • Laravel
    • Redis
    • Docker
    • Go
    • swoole
    • Windows
    • Python
    • 苹果(mac/ios)
    • 相关文章
    • gmail发邮件报错:534 5.7.9 Application-specific password required...解决方案(0个评论)
    • 2024.07.09日OpenAI将终止对中国等国家和地区API服务(0个评论)
    • 2024/6/9最新免费公益节点SSR/V2ray/Shadowrocket/Clash节点分享|科学上网|免费梯子(0个评论)
    • 国外服务器实现api.openai.com反代nginx配置(0个评论)
    • 2024/4/28最新免费公益节点SSR/V2ray/Shadowrocket/Clash节点分享|科学上网|免费梯子(0个评论)
    • 近期文章
    • 在go语言中使用api.geonames.org接口实现根据国际邮政编码获取地址信息功能(1个评论)
    • 在go语言中使用github.com/signintech/gopdf实现生成pdf分页文件功能(0个评论)
    • gmail发邮件报错:534 5.7.9 Application-specific password required...解决方案(0个评论)
    • 欧盟关于强迫劳动的规定的官方举报渠道及官方举报网站(0个评论)
    • 在go语言中使用github.com/signintech/gopdf实现生成pdf文件功能(0个评论)
    • Laravel从Accel获得5700万美元A轮融资(0个评论)
    • 在go + gin中gorm实现指定搜索/区间搜索分页列表功能接口实例(0个评论)
    • 在go语言中实现IP/CIDR的ip和netmask互转及IP段形式互转及ip是否存在IP/CIDR(0个评论)
    • PHP 8.4 Alpha 1现已发布!(0个评论)
    • Laravel 11.15版本发布 - Eloquent Builder中添加的泛型(0个评论)
    • 近期评论
    • 122 在

      学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..
    • 123 在

      Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..
    • 原梓番博客 在

      在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..
    • 博主 在

      佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 @1111老铁这个不行了,可以看看近期评论的其他文章..
    • 1111 在

      佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 网站不能打开,博主百忙中能否发个APP下载链接,佛跳墙或极光..
    • 2016-10
    • 2016-11
    • 2017-07
    • 2017-08
    • 2017-09
    • 2018-01
    • 2018-07
    • 2018-08
    • 2018-09
    • 2018-12
    • 2019-01
    • 2019-02
    • 2019-03
    • 2019-04
    • 2019-05
    • 2019-06
    • 2019-07
    • 2019-08
    • 2019-09
    • 2019-10
    • 2019-11
    • 2019-12
    • 2020-01
    • 2020-03
    • 2020-04
    • 2020-05
    • 2020-06
    • 2020-07
    • 2020-08
    • 2020-09
    • 2020-10
    • 2020-11
    • 2021-04
    • 2021-05
    • 2021-06
    • 2021-07
    • 2021-08
    • 2021-09
    • 2021-10
    • 2021-12
    • 2022-01
    • 2022-02
    • 2022-03
    • 2022-04
    • 2022-05
    • 2022-06
    • 2022-07
    • 2022-08
    • 2022-09
    • 2022-10
    • 2022-11
    • 2022-12
    • 2023-01
    • 2023-02
    • 2023-03
    • 2023-04
    • 2023-05
    • 2023-06
    • 2023-07
    • 2023-08
    • 2023-09
    • 2023-10
    • 2023-12
    • 2024-02
    • 2024-04
    • 2024-05
    • 2024-06
    • 2025-02
    Top

    Copyright·© 2019 侯体宗版权所有· 粤ICP备20027696号 PHP交流群

    侯体宗的博客