I would like to create a Windows Service using a batch script for a Python script that I have written. I decided to do some experimenting with sc. Here is the line that I used:
sc create RoundTripService binPath="C:\Python27\python.exe C:\script.py" type=own error=ignore start=auto
Unfortunately, when I do so, the console is giving me a printout of the Description/Usage/Options, etc. of sc instead.