2016-08-22 125 views
1

執行WMIC命令,我通過我的tcl shell執行命令wmic process where Description="java.exe" get caption並得到如下錯誤: -無法通過TCL

Node - HAW-TEST-04

ERROR:

Description = Invalid query

而同樣的命令,從命令終端運行完全

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

回答

1
% exec wmic process where Description='java.exe' get caption 
Caption 

java.exe 


%