@ECHO OFF setlocal DISABLEDELAYEDEXPANSION SET BIN_TARGET=%~dp0/phpunit SET COMPOSER_RUNTIME_BIN_DIR=%~dp0 php "%BIN_TARGET%" %*
info at phpclasses dot org