So far, the only way I can seem to get this to work is through a batch file. On the bright side, the command prompt window does not pop up, even for an instant.
Also, I could get NET START and NET STOP to work in the playground, but no SC commands. As another head-banging-on-wall experience, the script I used in the playground, I can’t get to work in a project.