HOME COMMUNITY BLOG

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample
languagebash
sc create "[ServiceName]" binPath="[PathToServiceDirectory]\AsapScheduler.exe"

on a new windows servers add a space after equal sign to make it work:
sc create "[ServiceName]" binPath= "[PathToServiceDirectory]\AsapScheduler.exe"

On a newer windos servers add a space after equal sign to make it work

...