ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Windows使用SC基础命令

Windows使用SC基础命令

原创 Linux操作系统 作者:leon830216 时间:2015-08-14 16:09:39 0 删除 编辑
1、创建服务
sc create SVNServer binpath= "C:\Program Files (x86)\Subversion\bin\svnserve.exe --service -r d:\repos" displayname= "SVN Server" depend= Tcpip start= auto

2、修改服务
sc config SVNServer binpath= "C:\Program Files (x86)\Subversion\bin\svnserve.exe --service -r d:\repos" displayname= "SVN Server" depend= Tcpip start= auto

3、查看服务
sc qc SVNServer

4、删除服务
sc delete SVNServer

5、在注册表中删除指定服务项
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22558114/viewspace-1771639/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-09-18

  • 博文量
    160
  • 访问量
    380449