Reputation: 65
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?
Upvotes: 0
Views: 25