Maybe, you can use srvany.exe from Microsoft Windows 2003 Resource Kit and SC commands. Here is an example using google drive. http://www.myrtec.com.au/kb/331
Convert a simple command line to an NT service
Frage
I have a single program, which is used here essentially as a service.
Currently, I need to start this from a command line, as
program_name.exe arg1 arg2 arg3
And stopping it happens by killing it from the task manager.
I liked it better, if somehow - maybe through a wrapper - I could install this as a service, to be able to manage it by the services.msc
. Is it possible? If yes, how?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow