在Windows Server 2008上运行任意应用程序作为服务

问题描述:

大家好,

我使用Windows Resource Toolkit中包含的srvany.exe在Windows Server 2003中运行任意(通过cmd启动)应用程序。但是,这似乎与x64 Windows Server 2008不兼容。将任意
应用程序安装为服务的官方支持方式是什么?

I use to run an arbitrary(started via cmd) application in Windows Server 2003, using srvany.exe included in Windows Resource Toolkit. However this doesn't seem to be compatible on x64 Windows Server 2008. What's the official supported way to install an arbitrary application as service?

谢谢

sc.exe是等效的

sc.exe is the equivalent

http://support.microsoft.com/kb/251192