[英]PHP psexec shell command is not recognized as an internal or external command
我在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."
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.