@echo off del klusrmgr.zip set dest=x: echo Creating on %DEST% echo Creating from %UNIXROOT% %DEST% cd \ md rpmroot cd rpmroot md usr cd usr md bin cd bin echo Created %DEST%\usr\bin %UNIXROOT% xcopy *.exe %DEST% >NUL ren klusrmgr.exe klUsrMgr.EXE xcopy user*. %DEST% >NUL xcopy group*. %DEST% >NUL rexx2vio usermod.cmd rexx2vio groupmod.cmd xcopy *mod*.cmd %DEST% >NUL del usermod.exe del groupmod.exe %DEST% cd \rpmroot cd usr md share cd share md os2 cd os2 md lang cd lang %UNIXROOT% echo Created %DEST%\usr\share\os2\lang xcopy *.msg %DEST% >NUL %DEST% cd .. cd .. md doc cd doc md klusrmgr cd klusrmgr echo Created %DEST%\usr\share\doc\klusrmgr %UNIXROOT% xcopy readme.txt %DEST% >NUL %DEST% cd \rpmroot echo Creating zip zip -rpmo9 %UNIXROOT%klusrmgr.zip * copy %UNIXROOT%klusrmgr.zip %UNIXROOT%\develop\rpmbuild\SOURCES\klusrmgr\* >NUL copy %UNIXROOT%klusrmgr.zip %UNIXROOT%\develop\rpmbuild2\SOURCES\klusrmgr\* >NUL cd \ rd rpmroot echo Done. %UNIXROOT%