查看: 2659|评论: 0
个人博客

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

eumnq8 2022-07-18 09:21 2659 0
[复制链接]

3382

文章

19

评论

39

积分

普通会员LV2

积分
39

技术达人

发表于 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

您需要登录后才可以评论 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|易游网-易游模拟器 Copyright @2015-2026 ( 浙ICP备15028007号-1 )

GMT+8, 2026-10-3 17:20 , Processed in 0.030272 second(s), 8 queries , Gzip On, MemCache On.

© 2026 易游网-易游模拟器 Copyright @2015-2026

快速评论 返回顶部 返回列表