[Galaxy Tab 2 7" Android Development] Android-Andi:
Hey @mythi

I made a new script / Modified your script (recovery.img to *.tar.md5), don´t know if you like it:

Extenden-Script (Choose Device; Choose Recovery; Enter Version-Number)

script_convert_extendent.bat:

@[URL="http://xdaforums.com/member.php?u=279333"]ECHO[/URL] off
title Converting recovey.img to recovery.tar.md5 ...
color 00
REM
echo.
echo.
echo. ************************************************
echo. * X D A - D E V E L O P E R *
echo. * *
echo. * recovery.img to recovery.tar.md5 *
echo. * *
echo. * T O O L K I T *
echo. * *
echo. * brought you by XDA DEV mythi *
echo. * *
echo. * E X T E N D E N D S C R I P T *
echo. * XDA-Member Android-Andi *
echo. ************************************************
echo.
echo.
echo. ***********************************************************
echo. * ARE You sure that there is A recovey.img? (1=Yes, 0=No) *
echo. ***********************************************************
echo.
echo.
set /P res1=Your choice please:
if NOT "%res1%"=="1" goto :eof

:setdevice
echo.
echo.
echo. ************************************************
echo. * 1 GT-P3100 *
echo. * 2 GT-P3110 *
echo. * 3 GT-P3113 *
echo. * *
echo. ************************************************
echo.
echo.
echo. ***********************************************************
echo. * Choose your Device *
echo. ***********************************************************
echo.
echo.
set /P res2=Your choice please:
if "%res2%"=="1" set devtype="GT-P3100"&&goto setrecovery
if "%res2%"=="2" set devtype="GT-P3110"&&goto setrecovery
if "%res2%"=="3" set devtype="GT-P3113"&&goto setrecovery
) else (
goto setdevice

:setrecovery
echo.
echo.
echo. ************************************************
echo. * 1 Clockworkmod Recovery *
echo. * 2 Clockworkmod Recovery (unofficial) *
echo. * 3 TWRP (unofficial) *
echo. * 4.PhilZ-Touch-Recovery (Blackhaw Repack) *
echo. * *
echo. ************************************************
echo.
echo.
echo. ***********************************************************
echo. * Choose your Recovery *
echo. ***********************************************************
echo.
echo.
set /P res3=Your choice please:
if "%res3%"=="1" set rectype="ClockworkMod-Recovery"&&goto tont
if "%res3%"=="2" set rectype="ClockworkMod-Recovery-UNOFFICIAL"&&"goto tont
if "%res3%"=="3" set rectype="TWRP-UNOFFICIAL"&&goto setversion
if "%res3%"=="4" set rectype="PhilZ-Touch-Recovery-Blackhawk"&&goto setversion
) else (
goto setrecovery

:tont
echo.
echo.
echo. ************************************************
echo. * 1 Touch *
echo. * 2 Non-Touch *
echo. * *
echo. ************************************************
echo. ***********************************************************
echo. * Choose for Touch or Non-Touch recovery *
echo. ***********************************************************
echo.
echo.
set /P res4=Your choice please:
if "%res4%"=="1" set rectont="Touch"&&goto setversion
if "%res4%"=="2" set rectont="Non-Touch"&&goto setversion
) else (
goto tont

:setversion
echo.
echo.
echo. ***********************************************************
echo. * Please enter Version: *
echo. ***********************************************************
echo.
echo.
set /P version1=Version-Number:

:proceed1
@[URL="http://xdaforums.com/member.php?u=279333"]ECHO[/URL] off
if "%res4%"=="1" goto proceed2
if "%res4%"=="2" goto proceed2
if exist "recovery.img" (
echo. ************************************************
echo. * A recover.img has been detected *
echo. ************************************************
) else (

echo.
echo.
echo. ************************************************
echo. * recovery.img not found... *
echo. ************************************************
echo.
echo.
pause
exit
)
bin\tar --group=1 -H ustar -c recovery.img > "%devtype%_%rectype%_%version1%.tar"
bin\md5sum -t "%devtype%_%rectype%_%version1%.tar" >> "%devtype%_%rectype%_%version1%.tar"
bin\mv "%devtype%_%rectype%_%version1%.tar" "%devtype%_%rectype%_%version1%.tar.md5"

goto done1

:proceed2
@[URL="http://xdaforums.com/member.php?u=279333"]ECHO[/URL] off
if exist "recovery.img" (
echo. ************************************************
echo. * A recover.img has been detected *
echo. ************************************************
) else (

echo.
echo.
echo. ************************************************
echo. * recovery.img not found... *
echo. ************************************************
echo.
echo.
pause
exit
)
bin\tar --group=1 -H ustar -c recovery.img > "%devtype%_%rectype%_%version1%_%rectont%.tar"
bin\md5sum -t "%devtype%_%rectype%_%version1%_%rectont%.tar" >> "%devtype%_%rectype%_%version1%_%rectont%.tar"
bin\mv "%devtype%_%rectype%_%version1%_%rectont%.tar" "%devtype%_%rectype%_%version1%_%rectont%.tar.md5"

goto done1

:done1
echo. ************************************************
echo. * YOUR TOO LAZY!!!! *
echo. * I LOVE LIFE!!!!!! *
echo. ************************************************
pause

echo. ********************************************************
echo. * Thank me at xda @[URL="http://xdaforums.com/member.php?u=5150212"]mythi[/URL] *
echo. * Thanks TO MY BRAIN,MY,MY BROTHER,AND ALL XDA DEVS *
echo. * *
echo. * HEY I HAVE DONE THE JOB FOR YOU DON'T FORGET TO *
echo. * HIT THE THANKS BUTTON IN XDA It WON'T Just HURT!!! *
echo. ********************************************************
echo.
echo.
echo.
echo. ************************************************
echo. * DONE!!!!!!!!!!!!!!!!!!!!!!!!!!!! *
echo. ************************************************
echo.
echo. ************************************************
echo. * hahaha *
echo. ************************************************
pause