JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

将exe作为服务启动

发布时间 2023-06-02 10:03:47作者: CrossPython
-- 添加服务
sc create CoServices binpath= D:\sf\code\xky\test\CoServices.exe start= auto DisplayName= CoServices
-- 删除服务
sc delete CoServices

  

 

-- 查询端口号
netstat -ano|findstr 端口号 
-- 杀死该端口进程
taskkill /f /pid 端口号 

  

    本栏目推荐文章
  • java中调用exe程序和问题处理
  • pipenv 配置虚拟环境,为了让pyinstaller打包后的exe小点
  • explorer.exe 无法访问指定设备路径或文件。你可能没有适当的权限访问该项目。
  • smartscreen.exe
  • linux .net core dotnet执行exe缺失libhostpolicy.so
  • 将Debug目录下的所有文件打包成exe
  • 三菱电梯综合监控系统适配 lonele.exe 由 20180418 降级至 20150930 而调整相应的 msde2000 数据库
  • dism.exe 命令行工具 的 功能 有那些
  • imagex.exe 在较新的 Windows 版本中已被 DISM(Deployment Image Servicing and Management)工具所取代
  • npm install安装依赖包时报错npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js,npm ERR! ChromeDriver installation failed Error with http(s) request: Error: read ECONNRESET
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们