Skip to content

Instantly share code, notes, and snippets.

@Basster
Created November 21, 2012 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Basster/4124070 to your computer and use it in GitHub Desktop.
Save Basster/4124070 to your computer and use it in GitHub Desktop.
Symfony2 batch for Windows development
@ECHO off
SET params=
REM Merge all batch parameters into one string
:startloop
IF "%1"=="" GOTO endloop
SET params=%params%%1
SHIFT
GOTO startloop
:endloop
REM call symfony console with batch params
php app/console %params%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment