Run .exe with extra parameters as windows service with sc create

arelle, command-prompt, service

Solution

Try this:

sc create mynewservice binpath="C:\Program Files\Arelle\arelleCmdLine.exe --webserver localhost:10100"

Problem

I'm trying run following in my command prompt: `sc create mynewservice binpath="C:\Program Files\Arelle\arelleCmdLine.exe" --webserver localhost:10100` This won't succeed since there is the `:` in the optionname. I can't seem to find the correct syntaxt

Original source