You might need to run it via cmd
, eg:
system("cmd /c C:[path to file]");
More Related Contents:
- PHP exec() will not execute shell command when executed via browser
- Windows CMD.exe “The system cannot find the path specified.”
- PHP exec() vs system() vs passthru()
- php exec command (or similar) to not wait for result
- PHP shell_exec() vs exec()
- Running a Python script from PHP
- PHP StdErr after Exec()
- Run Bash Command from PHP
- Running command-line application from PHP as specific user
- PHP exec() as Background Process (Windows Wampserver Environment)
- Checking if process still running?
- PHP exec – check if enabled or disabled
- Run a ffmpeg process in the background
- Check if “exec” is disabled [duplicate]
- PHP exec $PATH variable missing elements
- Running python script in Laravel
- Can’t execute PHP script using PHP exec
- exec() with timeout
- PHP exec() not returning error message in output
- What’s the difference between escapeshellarg and escapeshellcmd?
- PHP: Why isn’t exec() returning output?
- php in background exec() function
- MySQLi prepared statements error reporting [duplicate]
- Save image from url with curl PHP
- What’s the net::ERR_HTTP2_PROTOCOL_ERROR about?
- codeigniter, result() vs. result_array()
- WooCommerce: Check if items are already in cart
- PHP – Sort multi-dimensional array by another array
- PDO Unbuffered queries
- “PHP Fatal error: Class ‘HttpRequest’ not found”