Board logo

标题: [系统相关] [已解决]wmic挑选命令行符合的结束进程 [打印本页]

作者: 窄口牛    时间: 2018-11-4 09:41     标题: [已解决]wmic挑选命令行符合的结束进程

Caption=explorer.exe
CommandLine=C:\Windows\Explorer.EXE
Caption=explorer.exe
CommandLine=C:\Windows\explorer.exe /factory,{ceff45ee-c862-41de-aee2-a022c81eda92} -Embedding
两个进程
现在想重启桌面也就是上面的进程,而保留资源管理器也就是下面的进程
舱尝试了多次都是提示
,-Invalid alias verb
作者: yhcfsr    时间: 2018-11-4 13:33

建议题主分离下答案,否则这样的帖子又有什么意义?
作者: 窄口牛    时间: 2018-11-4 18:29

wmic process where "caption='explorer.exe' and  not commandline like '%%factory%%'" call terminate




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2