易游网-易游模拟器

 找回密码
 立即注册
查看: 975|回复: 0

[windows] 服务操作相关bat命令

[复制链接]

3382

主题

3401

帖子

38

积分

超级版主

Rank: 8Rank: 8

积分
38

技术达人

发表于 2022-7-18 09:21:38 | 显示全部楼层 |阅读模式
等号后面必须要加空格
模式:sc create serviceName binPath= 路径 start= auto
示例:sc create tomcat9Service2 binPath= G:\software\apache-tomcat-9.0.41\bin\tomcat9.exe start= auto

模式:sc delete ServiceName
示例:sc delete tomcat9Service2

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|易游网-易游模拟器 Copyright @2015-2021 ( 浙ICP备15028007号-1 )

GMT+8, 2024-3-28 22:13 , Processed in 0.043943 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表