Is it possible to run windows command line code from php ? My windows command line code is:
If you are able to run your commands manually from the command-line, but not via WAMP, than the user the Apache Service runs as does not have the needed permissions to execute your commands and binaries (nor interact with the desktop if it is GUI related).
By default, Apache service run under user account: nt authority\system
Change it to your custom user (user with administrative rights) by following below steps,
Happy coding :-)