This commit is contained in:
Michael H.G. Schmidt 2023-01-22 17:15:06 +01:00
parent 97cd0a8cdf
commit 57044c281c

View File

@ -48,6 +48,7 @@ set FS=
echo. echo.
set /p FS="Please select filesystem (exfat or fat32) [exfat]: " set /p FS="Please select filesystem (exfat or fat32) [exfat]: "
if /i "%FS%" EQU "fat32" ( if /i "%FS%" EQU "fat32" (
echo IMPORTANT: maximum size for FAT32 is 32768!
GOTO CONT2 GOTO CONT2
) )
if /i "%FS%" EQU "exfat" ( if /i "%FS%" EQU "exfat" (
@ -59,13 +60,13 @@ set FS=
) )
echo Please enter "exfat" or "fat32". echo Please enter "exfat" or "fat32".
goto askfs goto askfs
:CONT2 :CONT2
echo selected: %FS% echo selected: %FS%
set SIZE= set SIZE=
:asksize :asksize
echo. echo.
echo IMPORTANT: maximum size for FAT32 is 32768!
set /p SIZE="Please enter size in MB [max]: " set /p SIZE="Please enter size in MB [max]: "
if /i "%SIZE%" EQU "" ( if /i "%SIZE%" EQU "" (
@ -80,6 +81,7 @@ set SIZE=
echo selected size = %SIZE% [MB] echo selected size = %SIZE% [MB]
set SIZE=size=%SIZE% set SIZE=size=%SIZE%
) )
:CONT3 :CONT3
echo. echo.