我在php中使用此命令
exec("psexec \\\\192.168.1.3 -u myAccount -p myPassword -i cmd.exe /c START c:\file.doc 2>&1",$output);
var_dump($output);
但结果是错误的
array(2) {
[0]=>
string(62) "'psexec' is not recognized as an internal or external command,"
[1]=>
string(31) "operable program or batch file."
}