Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何杀死名称上有空格和引号的cmd窗口? 我想杀死一个窗口,它的名字是:Remote /C 计算机名“session1”
taskkill /f /fi "WindowTiltle eq Remote /C comupterName "session1""
不起作用,它找不到窗口 谢谢
已解决,只需添加双引号:
taskkill /f /fi "WindowTiltle eq Remote /C comupterName ""session1"""