Would you like to open a cmd window via php via the web?

0

I'm using the following code below:

$wShell = new COM("WScript.Shell"); 
$exec = $wShell->Run("notepad.exe", 7, false); 
 exec("C:\inetpub\wwwroot\boxlabel\box_bat.bat") or die ("");

I would like to run it without being in background opening the window would literally have to do this?

    
asked by anonymous 27.03.2018 / 18:11

0 answers