命令行添加windows服务
使用sc.exe进行从命令行添加服务
sc.exe create "<serviceKey>" start= auto binPath= "<path to jenkins-slave.exe>" DisplayName= "<service display name>"
参考:
本文介绍如何使用sc.exe命令行工具在Windows系统中创建服务。通过具体的命令参数说明,指导用户如何设置服务启动类型、指定服务可执行文件路径及显示名称。
命令行添加windows服务
使用sc.exe进行从命令行添加服务
sc.exe create "<serviceKey>" start= auto binPath= "<path to jenkins-slave.exe>" DisplayName= "<service display name>"
8971

被折叠的 条评论
为什么被折叠?