w10install/wimscripts/export-image.cmd
Michael H.G. Schmidt ec199d7f3d .
2020-12-25 20:08:46 +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