c# 安装和卸载服务(window service)

C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe rmzxWindowsService.exe
pause

新加记事本,复制以上文本,保存为.bat文件,注意服务所在路径!

c# 安装和卸载服务(window service)

C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u rmzxWindowsService.exe
pause

同上!

相关文章:

  • 2021-08-25
  • 2021-12-03
  • 2021-12-05
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2021-12-22
  • 2022-01-11
猜你喜欢
  • 2022-12-23
  • 2021-11-08
  • 2021-06-22
  • 2022-02-08
  • 2021-09-04
相关资源
相似解决方案