This commit is contained in:
Michael H.G. Schmidt 2021-03-28 00:41:45 +01:00
parent e6a502f021
commit 20ba564de3

View File

@ -30,8 +30,11 @@ if EXIST %ESD% (
if EXIST %WIM% ( if EXIST %WIM% (
rem cleanup ...
del /F %W10PRO% 1>nul 2>nul
echo. echo.
echo INFO: found %WIM% echo INFO: found %WIM%
echo exporting image from %WIM% ... echo exporting image from %WIM% ...
dism /Export-Image ^ dism /Export-Image ^
@ -41,6 +44,7 @@ if EXIST %WIM% (
/Compress:Max ^ /Compress:Max ^
/CheckIntegrity /CheckIntegrity
attrib -R %WIM%
move /Y %W10PRO% %WIM% move /Y %W10PRO% %WIM%
echo all done >%STATEFILE% echo all done >%STATEFILE%