文件夹/Start in:/中的SC启动服务 [英] SC start service in folder /Start in:/
本文介绍了文件夹/Start in:/中的SC启动服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在解决一个问题.我正在尝试为程序创建服务,但是.exe文件必须在特定的文件夹/File Properties-Start in/中运行.有什么方法可以添加,开始服务?所有服务都从 C:\ Windows \ System32
..运行,而我想从 C:\ WinACD
I am solving one problem. I am trying to create a service for a program, but the .exe file has to be run in specific folder /File Properties - Start in/.
Is there any way how to add ,,Start in,, to service? All services runs from C:\Windows\System32
.. and this one I want to run from C:\WinACD
sc create WinACD binpath= "C:\WinACD\WTELS.EXE Z" start= auto
我必须更改工作目录: C:\ WinACD
I have to change working directory: C:\WinACD
谢谢大家,罗伯特
推荐答案
最后,我下载了一个程序,该程序非常适合我的情况.
In the end I downloaded a program, which works perfectly for my case.
这篇关于文件夹/Start in:/中的SC启动服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文