清理命令行
cls
创建window服务
以下有两个转义符号
binpath= 命令+参数(使用引号)注意等号前没有空格 等号后有空格
服务的最终值
"C:\Apache\csvn\bin\svnserve.exe" --service -r "C:\Apache\csvn\data\repositories\think" --listen-port "3690"
sc命令创建window服务
"C:\Apache\csvn\bin\svnserve.exe" --service -r "C:\Apache\csvn\data\repositories\think" --listen-port "3690"
完整命令
sc create svn binpath= "C:\Apache\csvn\bin\svnserve.exe --service -r c:\Apache\csvn\data\repositories\think --listen-port 3690" displayname= "CollabNet Subversion service" depend= Tcpip start= auto
删除window服务
cls
创建window服务
以下有两个转义符号
binpath= 命令+参数(使用引号)注意等号前没有空格 等号后有空格
服务的最终值
"C:\Apache\csvn\bin\svnserve.exe" --service -r "C:\Apache\csvn\data\repositories\think" --listen-port "3690"
sc命令创建window服务
"C:\Apache\csvn\bin\svnserve.exe" --service -r "C:\Apache\csvn\data\repositories\think" --listen-port "3690"
完整命令
sc create svn binpath= "C:\Apache\csvn\bin\svnserve.exe --service -r c:\Apache\csvn\data\repositories\think --listen-port 3690" displayname= "CollabNet Subversion service" depend= Tcpip start= auto
删除window服务
sc delete 服务名
android技术上如有疑问可以问我,有问必答.
爱品茶的盆友,光顾小店(谢谢,能收藏最好了):
专注移动开发!继续前行~