Skip to content

Instantly share code, notes, and snippets.

@abznak
Created June 29, 2018 06:41
Show Gist options
  • Save abznak/24f0b05ee15039b41046e8986fed3c43 to your computer and use it in GitHub Desktop.
Save abznak/24f0b05ee15039b41046e8986fed3c43 to your computer and use it in GitHub Desktop.
sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe\" --service --config=\"C:\Program Files\MongoDB\Server\3.6\mongod.cfg\"" DisplayName="MongoDb" start="auto"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment