added convert to mbr
This commit is contained in:
parent
69b4e276cc
commit
34b2853b2a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user