Chinaunix首页 | 论坛 | 博客
  • 博客访问: 194115
  • 博文数量: 104
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1275
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-17 20:51
文章分类
文章存档

2010年(11)

2009年(43)

2008年(50)

我的朋友

分类: WINDOWS

2008-11-06 08:57:32

命令行使用sc命令.
关于sc命令的详解,请自行查看帮助(sc /?),在此只简单提及如何加入系统服务功能.
加入服务:
sc create ServiceName binPath= 路径 start= auto
(等号后面的空格必须)
删除服务:
sc delete ServiceName
列:
将Tomcat加入到系统服务中:
sc create Tomcat binPath= F:\apache-tomcat\bin\startup.bat start= auto
将Tomcat服务删除:
sc delete Tomcat
阅读(616) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~