使用配置文件在 Windows Xp 中创建服务
这是我为我的程序创建服务的命令。程序通常使用配置文件,但是当我创建此服务时,程序无法作为服务启动。
C:\>sc create MalwareService binPath= "C:\Program Files\mbam.exe"
This is the command which I created a service of my program. Program normally uses a config file, but when I created this service, program could not start as a service.
C:\>sc create MalwareService binPath= "C:\Program Files\mbam.exe"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不能将任何随机程序作为服务来运行;程序必须遵循特定的协议。
You can't just run any random program as a service; there is a certain protocol the program has to follow.