I have the following batch which I use to launch eclipse/tasking to generate makefiles for my C project:
test_eclipsec.bat
echo off set my_ec