I am trying a very simple thing , just to run an exe on local WAMP environment.The code below launches does launch notepad(can see in task manager) but doesn’t show up.I want test.txt to be opened in a window.
<?php
$WshShell = new COM(“WScript.Shell”);
$oExec = $WshShell->Run(“notepad.exe C:\wamp\www\ est.txt”, 3, true);
?>
I have tried exec as well .Same problem.What modifications are needed?