Having problem using WScript to run two commands in PHP
- by user198729
$cmd = 'cd /d D:\ ' . "\r\n php file.php args";
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run($cmd, 0, false);
I found file.php is not run(by using file_put_contents,the permission settings are ok)