admin管理员组文章数量:1299995
I have a UI application that has a button that will install a Windows service. The button will start a Process that runs sc.exe.
My question is simple... should I expect that sc.exe is going to be in the path? Or do I need to specify the location where sc.exe is located? On any machine I can access, I can access sc.exe from anywhere so I know it's in the path. But what is the best practice... should I assume it is available? Or should I specify a path?
本文标签: cInstalling a windows service via scexeshould I expect it to be in the pathStack Overflow
版权声明:本文标题:c# - Installing a windows service via sc.exe -- should I expect it to be in the path? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741640182a2389870.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论