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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top