[已解决] Windows Services错误193:0xc1 [英] [Solved] Windows Services Error 193:0xc1

查看:2963
本文介绍了[已解决] Windows Services错误193:0xc1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想安装服务并有3个问题.

1)为什么第一个不能工作而第二个不能工作
sc创建Test5000 binPath =" C:\ dev \ test.exe"
sc创建Test5001 binPath =" C:\ Program Files(x86)\ Test \ test.exe"

我试过双引号,三引号,四引号.二进制文件存在,但我得到的只是错误193:0xc1

2)在哪里放置与服务关联的数据的标准位置

3)我应该建立帐户吗?

我在Windows 7(64位)上尝试运行32位二进制文​​件.

谢谢,
伊恩

更新:
由OP自己解决.作为答案之一发布.

Hi,

I would like to install a service and have 3 questions.

1) Why does the first work and the second does not
sc create Test5000 binPath= "C:\dev\test.exe"
sc create Test5001 binPath= "C:\Program Files (x86)\Test\test.exe"

I have tried double quotes, triple quotes, quad quotes. The binary is present but all I get is Error 193:0xc1

2) Where is the standard place to put data associated with the service

3) Should I create and account?

I am on Windows 7, 64-bit attempting to run a 32-bit binary.

Thanks,
Iain

UPDATE:
Solved by OP himself. Posted as one of the answers.

推荐答案



1)通过查看NMindexing服务并注意到ImagePath周围有引号来解决.因此,每边传递四个引号会将其解析为一组引号.
Hi,

1) was solved by looking at the NMindexing service and noticing that there are quotes around the ImagePath. So passing four quotes each side resolves this to one set of quotes.


这篇关于[已解决] Windows Services错误193:0xc1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆