Windows services 创建批处理文件以停止服务-服务名称无效
我注意到,每当我启动一个服务(通过cmd启动一个批处理文件)时,如果多个单词之间用空格分隔,cmd就会提示服务名称无效 工作批处理文件:Windows services 创建批处理文件以停止服务-服务名称无效,windows-services,batch-file,Windows Services,Batch File,我注意到,每当我启动一个服务(通过cmd启动一个批处理文件)时,如果多个单词之间用空格分隔,cmd就会提示服务名称无效 工作批处理文件: @echo off net start AdobeARMService @echo off net start Sample Windows Service @echo off net start "Sample Windows Service" 非工作批处理文件: @echo off net start AdobeARMService @echo o
@echo off
net start AdobeARMService
@echo off
net start Sample Windows Service
@echo off
net start "Sample Windows Service"
非工作批处理文件:
@echo off
net start AdobeARMService
@echo off
net start Sample Windows Service
@echo off
net start "Sample Windows Service"
如何使用共享空间运行服务?不用担心,我已经让它工作了。只需在服务上用多个单词加上引号 样本:
没关系,我让它工作了。只需在服务上用多个单词加上引号 样本: