Forwarding all batch file parameters to inner command Forwarding all batch file parameters to inner command windows windows

Forwarding all batch file parameters to inner command


in your batch file composer.bat, simply put:

php C:\path\to\composer\composer.phar %*


windows gives you %* to refer to all parameters.

Your new composer.bat file will then become
php C:\path\to\composer\composer.phar %*