@ECHO OFF
CLS
:LOOP
ECHO.
ECHO X2 4983.xx Bios Resizer
ECHO.
ECHO 1. Create X2 4983.06 1MB Bios
ECHO 2. Create X2 4983.67 1MB Bios
ECHO 3. Create X2 4983.06 512k Bios
ECHO 4. Create X2 4983.67 512k Bios
ECHO 5. Quit
SET Choice=
SET /P Choice=Type the number and press Enter:
IF NOT '%Choice%'=='' SET Choice=%Choice:~0,1%
ECHO.
IF /I '%Choice%'=='1' GOTO 06_1MB
IF /I '%Choice%'=='2' GOTO 67_1MB
IF /I '%Choice%'=='3' GOTO 06_512
IF /I '%Choice%'=='4' GOTO 67_512
IF /I '%Choice%'=='5' GOTO End
ECHO "%Choice%" is not valid. Please try again.
ECHO.
GOTO Loop
:06_1MB
copy /b x2_4983.06_256k.bin + x2_4983.06_256k.bin + x2_4983.06_256k.bin + x2_4983.06_256k.bin x2_4983.06_1MB.bin
dir x2_4983.06_1MB.bin
ECHO.
echo Output file 'x2_4983.06_1MB.bin' has been created!
ECHO.
GOTO Again
:67_1MB
copy /b x2_4983.67_256k.bin + x2_4983.67_256k.bin + x2_4983.67_256k.bin + x2_4983.67_256k.bin x2_4983.67_1MB.bin
dir x2_4983.67_1MB.bin
ECHO.
echo Output file 'x2_4983.67_1MB.bin' has been created!
ECHO.
GOTO Again
:06_512
copy /b x2_4983.06_256k.bin + x2_4983.06_256k.bin x2_4983.06_512k.bin
dir x2_4983.06_512k.bin
ECHO.
echo Output file 'x2_4983.06_512k.bin' has been created!
ECHO.
GOTO Again
:67_512
copy /b x2_4983.67_256k.bin + x2_4983.67_256k.bin x2_4983.67_512k.bin
dir x2_4983.06_512k.bin
ECHO.
echo Output file 'x2_4983.67_512k.bin' has been created!
ECHO.
GOTO Again
:Again
PAUSE
CLS
GOTO Loop
:End
CLS