w10install/export-image.cmd
Michael H.G. Schmidt bb34d2e85c .
2021-01-10 00:22:42 +01:00

12 lines
267 B
Batchfile

set SOURCES=c:\TEMP\Win10\sources
del %SOURCES%\install.wim 1>nul 2>nul
dism /Export-Image ^
/SourceImageFile:%SOURCES%\install.esd ^
/DestinationImageFile:%SOURCES%\install.wim ^
/SourceName:"Windows 10 Pro" ^
/Compress:Max ^
/CheckIntegrity