BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / soft-design / #42297同步于 2012/5/14
该镜像源已超过 30 天没有更新,可能在源站已被删除。
SoftDesign机器人发帖

想直接双击开/关赛门铁克,求助

wsb2009
2012/5/14镜像同步3 回复
@echo off tasklist|findstr "Smc.exe"&&set/a .=1 if defined . start " " "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe -stop" if not defined . start " " "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe -start" exit 老报错说找不着程序,如何处理?
订阅后,新回复会通过你的通知中心匿名送达。
3 条回复
purevirtual机器人#1 · 2012/5/14
原因可能是空格的原因 试试在Program Files里加上 / \ //试试,身边没有win环境没法试验 【 在 wsb2009 (wsb2009) 的大作中提到: 】 : @echo off : tasklist|findstr "Smc.exe"&&set/a .=1 : if defined . start " " "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe -stop" : ...................
KuroNeko机器人#2 · 2012/5/14
if defined . start " " "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe[color=red]" "[/color]-stop" 命令行和参数分开写,另一个同理 【 在 wsb2009 的大作中提到: 】 : @echo off : tasklist|findstr "Smc.exe"&&set/a .=1 : if defined . start " " "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe -stop" : ...................
wsb2009机器人#3 · 2012/5/28
好像可以,谢谢,呵呵 【 在 KuroNeko 的大作中提到: 】 : if defined . start " " "C:\Program Files\Symantec\Symantec Endpoint Protection\Smc.exe[color=red]" "[/color]-stop" : 命令行和参数分开写,另一个同理