Window XP 手动添加本地服务
创建:sc.exe create "Service Name" binPath= "C:\Your Program.exe" 注:binPath=后的空格,binPath指定的是.exe文件的绝对路径。
删除:sc.exe delete "Service Name"
启动:sc.exe start "Service Name"
停止:sc.exe stop "Service Name"