Problem using SC create under windows
Sunday, July 26th, 2009When you want to create a new service under windows, the most obvious way is usage of sc.exe
A “normal” user will read a help, and write:
sc create MyService binPath=C:\path\my.exe
The sc.exe only displays help, but does not do anything. The solution is another space after the “=”, so the right command is
sc create MyService binPath= C:\path\my.exe
Enjoy….