Your not even thinking this through are you??? first off not all format util's can format any type of FS. Like
Format for win95 cant format xp's ntfs (can it

). I dont even think it can read it at all. You need to fdisk
first.
Here's a quick 98 compt. way...you must have choice.com in the disk/image.
remember you have to fdisk first if it is a unreadable FS. then you will have
to reboot to then...so your proabably looking at a reboot first.
@echo off
echo.
echo.
echo Would you like to run FDisk first?
echo Y = Yes
echo N = No
echo.
CHOICE.COM \"\" /C:YN /N /T:N,20
IF ERRORLEVEL==2 GOTO _formhdd
::No need for a second label since only No will affect the outcome.
FDISK
:_formhdd
echo.
echo.
echo Format which drive letter...enter the letter.
echo.
echo C D E F G H I J K
:: remember dos will not see the drive letter like window does...so x: in windows could be like C: in dos
CHOICE.COM \"\" /C:CDEFGHIJK /N
IF ERRORLEVEL==9 SET foohdd=K
IF ERRORLEVEL==9 SET foohdd=J
IF ERRORLEVEL==9 SET foohdd=I
IF ERRORLEVEL==9 SET foohdd=H
IF ERRORLEVEL==9 SET foohdd=G
IF ERRORLEVEL==9 SET foohdd=F
IF ERRORLEVEL==9 SET foohdd=E
IF ERRORLEVEL==9 SET foohdd=D
IF ERRORLEVEL==9 SET foohdd=C
FORMAT %foohdd%: /Y
:: you might have to use FORMAT /Y %foohdd%: to get it to auto format...if
:: that doesnt work find a different format and use one that turns off confirm.