我正在使用该命令安装一些服务,installutils
但是在使用该命令安装这些服务时遇到了巨大的麻烦SC create
。这两种模式有什么区别。我没有从命令中得到任何错误,而是一系列选项。这是我正在使用的格式:
SC create ZAM displayname= "ZAM" binpath="E:\ZAM\ZAM.exe" start=auto
我得到以下信息:
DESCRIPTION:
Creates a service entry in the registry and Service Database.
USAGE:
sc <server> create [service name] [binPath= ] <option1> <option2>...
OPTIONS:
NOTE: The option name includes the equal sign.
A space is required between the equal sign and the value.
type= <own|share|interact|kernel|filesys|rec>
(default = own)
start= <boot|system|auto|demand|disabled|delayed-auto>
(default = demand)
error= <normal|severe|critical|ignore>
(default = normal)
binPath= <BinaryPathName>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
(default = LocalSystem)
DisplayName= <display name>
password= <password>
我不明白可能出了什么问题?