@echo off IF [%1]==[] GOTO ERRORE IF %1==svil goto svil IF %1==SVIL goto svil IF %1==coll goto coll IF %1==COLL goto coll echo SINTASSI: dbcfxgoSwitch COLL o SVIL switcha i files per creare l'ear collaudo o sviluppo goto end :svil echo Switch alla versione di SVILUPPO! copy /Y ..\src\it\valueteam\gnpgo\web\filter\SecurityFilter.java.svil ..\src\it\valueteam\gnpgo\web\filter\SecurityFilter.java copy /Y ..\web\res\WEB-INF\web.xml.svil ..\web\res\WEB-INF\web.xml goto end :coll echo Switch alla versione di COLLAUDO! copy /Y ..\src\it\valueteam\gnpgo\web\filter\SecurityFilter.java.coll ..\src\it\valueteam\gnpgo\web\filter\SecurityFilter.java copy /Y ..\web\res\WEB-INF\web.xml.coll ..\web\res\WEB-INF\web.xml goto end :errore echo ERRORE! :end