PHP 运行EXE

$command = "c:\directory1\psexec.exe \\127.0.0.1 -u username -p password c:\directory2\commandtoexecute.exe";
exec($command);

你可能感兴趣的:(PHP,exec)