@echo off if "%1"=="" goto :help if NOT EXIST notifu-%1.zip goto help if NOT EXIST notifu-src-%1.zip goto help echo This will obsolete version %1 zip -q -z notifu-src-%1.zip < obsolete.txt zip -q -z notifu-%1.zip < obsolete.txt svn ci -m "Obsoleted version %1" goto:eof :help echo Pass the version number you want to obsolete :end