I'm trying to run a batch file with an argument, which in turn passes that argument to a php file and runs.... I've tried a few different things but cant seem to get it working. Heres what I have:
process.bat (passed with a full path to a file (%1))
"C:\Program Files (x86)\PHP\php.exe" C:\inetpub\wwwroot\Label.php?File=%1
The above fails to run the PHP script with the following error:#
Could not open input file: C:\inetpub\wwwroot\Label.p
Does anyone know how I can correctly pass the %1 batch file argument through to the PHP script?