I'm not sure why you're building your path up like this, however here's an example based on running d:\program files\ffmpeg\bin\ffmpeg.exe:
$me = "d:\\program files"; $me .= '\\ffmpeg\\'; $me .= 'bin'; $me .= '\\ffmpeg.exe'; system('start "" "' . $me . '"');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: C:\ProgramData\Microsoft\Windows\Start Menu is not an internal or external command,operable program or batch file
by ankit.tayal560 (Beadle) on Aug 29, 2016 at 10:51 UTC | |
by marto (Cardinal) on Aug 29, 2016 at 10:58 UTC | |