added convert to mbr

This commit is contained in:
Michael H.G. Schmidt 2022-08-26 11:26:25 +02:00
parent 69b4e276cc
commit 34b2853b2a

View File

@ -66,6 +66,7 @@ rem =====
> %DPARTSCRIPT% (
@echo.select disk %DISK%
@echo.clean
@echo.convert MBR
@echo.create partition primary
@echo.select partition 1
@echo.format fs=exfat LABEL="%LABEL%" quick
@ -74,7 +75,7 @@ rem =====
@echo.
)
diskpart /s %DPARTSCRIPT% 1>nul 2>nul
diskpart /s %DPARTSCRIPT%
if %ERRORLEVEL% NEQ 0 (
echo ERROR: while formatting the disk!
del /F %DPARTSCRIPT% 1>nul 2>nul