I want to start c:…\php.exe and add the argment c:…\upload.php”
into my batch file but anytime I do it it says wrong Paramter.
I even tried setting an argument by saying:
@echo off
set arg1=%1
start ""c:\...\php.exe" %1"c:\...\upload.php"%1"
still wont work, thanks in advance guys.
There is a whole section of the manual dedicated to command line usage. Usually though, you would just specify several arguments as space separated after the script name and you can access them in your script with $argv. Example:
then run with