well im trying to create a bat file that calls the php-cgi.exe with the file that it has to call , and the parameter that files need:
start "C:\Program Files (x86)\php\php-cgi.exe" \\\10.101.3.21\wiki\maintenance\importimages.php C:\wikimages jpg bmp
but i cant get it to work, it tries to open the importimages file instead of running it