@echo off if not "%WIRK2_HOME%" == "" goto already set WIRK2_HOME=%CD% set ANT_HOME=%WIRK2_HOME%\core\ant set PATH=%WIRK2_HOME%\bin;%ANT_HOME%\bin;%PATH% echo Done goto exit :already echo wirk2 environment already set up :exit