mkvtoolnix/winbuild/bh.bat
Moritz Bunkus b92fd91a57 Updated project files & fixes for building with MS Visual Studio 8
Patches by David Ran (see AUTHORS).
2010-03-03 22:49:27 +01:00

21 lines
256 B
Batchfile

@echo off
if not exist %1* goto notfound
cd %1*
if exist %1-* goto subdir
cd ..
if exist %1-* goto rename
goto done
:rename
if exist %1 goto done
move %1-* %1 >NUL
goto done
:subdir
move %1-* ..\%1 >NUL
cd ..
goto done
:notfound
echo %1 not found!
:done