Windows cmd-任务列表/fi"windowtitle eq ...".不起作用 [英] windows cmd - tasklist /fi "windowtitle eq ...." doesnt work
问题描述
我在这里有一个小问题,想知道是否有人可以向我解释一下:)
I have a little problem here and wondered if someone could explain this to me :)
当我键入tasklist /V
时,我得到了所有任务以及正在寻找的任务:
when I type tasklist /V
I get all my tasks and also the task I'm looking for:
所以我的进程确实具有WINDOWTITLE,并且正在运行并由任务列表查看...但是当我键入
So my process does have a WINDOWTITLE and its running and seen by tasklist... but when I type
tasklist /FI "WINDOWTITLE eq construction_tool_server"
或
tasklist /V /FI "WINDOWTITLE eq construction_tool_server"
我得到一个空列表-.-
I get an empty list -.-
我做错了什么? :)
推荐答案
感谢BoogieMan2718的帮助:)
Thanks to BoogieMan2718 for your help :)
问题是我的WINDOWTITLE中有空格
the problem was that i had spaces in my WINDOWTITLE
我更改了行
标题construction_tool_server&& nodemon --watch服务器--exec babel-node-./server/server.js"
"title construction_tool_server && nodemon --watch server --exec babel-node -- ./server/server.js"
到
"title construction_tool_server&& nodemon --watch server --exec babel-node-./server/server.js"
"title construction_tool_server&& nodemon --watch server --exec babel-node -- ./server/server.js"
它现在可以工作了:)
所以再次谢谢你:)
这篇关于Windows cmd-任务列表/fi"windowtitle eq ...".不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!