This is pretty useful to know: sc create ServiceName binpath= c:\progra~1\folder\file.exe If you get “[SC] Createservice Success” then you’ve got it right You can then go into services.msc and set it to autostart and start it if you like. PS, …
Tag Archives: CMD
Create a windows service from the command line
Posted by dave on July 5, 2010
No comments
Listing available drives from the Command Prompt
Posted by dave on March 22, 2010
No comments
Simple Command Line Tricks
Posted by dave on March 17, 2010
No comments
How to Uninstall a program for the command line
Posted by dave on March 17, 2010
No comments