Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/97.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法通过tcl执行wmic命令_Tcl - Fatal编程技术网

无法通过tcl执行wmic命令

无法通过tcl执行wmic命令,tcl,Tcl,我正在通过我的tcl shell执行命令wmic进程,其中Description=“java.exe”获取标题,并获得以下错误:- 节点-HAW-TEST-04 错误: Description=无效查询 而同样的命令从命令终端完美运行 `C:\>wmic process where Description="java.exe" get caption` Caption java.exe java.exe java.exe java.exe % exec wmic process wher

我正在通过我的tcl shell执行命令
wmic进程,其中Description=“java.exe”获取标题
,并获得以下错误:-

节点-HAW-TEST-04

错误:

Description=无效查询

而同样的命令从命令终端完美运行

`C:\>wmic process where Description="java.exe" get caption`
Caption
java.exe
java.exe
java.exe
java.exe
% exec wmic process where Description='java.exe' get caption
Caption

java.exe


%