企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>[info] 有一些Server自带安装Windows Service命令,如Apache,Redis等,请阅读其官方文档安装Windows Service ### 以下为通用Windows Service安装命令,以管理员身份打开终端运行 ### 安装服务 ``` set serviceName=MyWindowsService set binPath="‪C:\Path\To\Your\Service.exe -arg" sc create %serviceName% binPath=%binPath% start= auto ``` ### 删除服务 ``` sc delete MyWindowsService ```