문제

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