wordpress   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了the specified service is marked as deletion,can not find the file specified大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

使用命令注册windows service sc create CCGSQueueservice binpath= "D:\DKX4003\services\xxx.xx.xx\xxx.exe" 在服务资源管理器中找到CCGSQueueservice服务,启动提示“can not find the file specified.”不能找到指定的文件。 原因: 路径中不要有特殊符号,比如"."。所以

使用命令注册windows service

sc create CCGSQueueservice binpath= "D:\DKX4003\services\xxx.xx.xx\xxx.exe"

在服务资源管理器中找到CCGSQueueservice服务,启动提示“can not find the file specified.”不能找到指定的文件

原因:

路径中不要有特殊符号,比如"."。所以把路径改成“sc create CCGSQueueservice binpath= "D:\DKX4003\services\xxxxxx\xxx.exe"”重新注册服务后启动,可以了。

 

同时用命令卸载windows service时提示“the specified service is marked as deletion”。

执行:sc delete CCGSQueueservice

原因:服务资源管理器中正在操作CCGSQueueservice服务,就会有这个提示

解决办法:关闭服务资源管理器,在打开则CCGSQueueservice服务不存在了,写在完成。或者命令行中执行:sc query CCGSQueueservice 查看则服务不存在。

大佬总结

以上是大佬教程为你收集整理的the specified service is marked as deletion,can not find the file specified全部内容,希望文章能够帮你解决the specified service is marked as deletion,can not find the file specified所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。