2013年5月3日 星期五

Create Window Service

Ref: http://forums.pdfforge.org/discussion/4749/using-sc-exe-for-creating-the-service/p1
OS: Windows 7 x64
1. Cmd.exe as Administrator
2. sc create "serviceName" start= auto binpath= "E:\Acad\Working\Powershell\TcpServer1\TcpServer1\bin\Debug\tcpserver1.exe"

沒有留言:

張貼留言