One way to install Services on Windows system

First , test the sc command in the command windows. if no sc command , copy it from other system For my environment, the folder is "C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\Bin\winnt" if your environment is different , please search it.

 

sc create <service-name> binpath= "D:\CompareString\CompareStringTest.exe"

sc delete <service-name>

posted on 2014-02-17 10:30  子虚乌有  阅读(155)  评论(0)    收藏  举报