
PHP is wierd...haha
For executing this DON'T WORK because PHP stops here and WAITS for the external program to finish...
Code: Select all
exec($AutoitExe_DosPath.' '.$ScriptToRun_DosPath.' romselected');
Code: Select all
exec('start /b "'.$AutoitExe_DosPath.'" "'.$ScriptToRun_DosPath.'" romselected');
And this WORKS!! (using the COM object) (even the eccVideoPlayer icon is shown properly now :-" )
Code: Select all
$shell = new COM("WScript.Shell");
$shell->run($AutoitExe_DosPath.' '.$ScriptToRun_DosPath.' romselected', 0, false);