w10install/wimscripts/export-image.cmd

12 lines
243 B
Batchfile
Raw Normal View History

2020-12-20 18:18:09 +01:00
set SOURCES="c:\TEMP\Win10\sources"
del %SOURCES%\install.wim
2020-12-20 17:14:56 +01:00
dism /Export-Image ^
2020-12-20 18:18:09 +01:00
/SourceImageFile:%SOURCES%\install.esd ^
2020-12-20 17:14:56 +01:00
/SourceIndex:6 ^
2020-12-20 18:18:09 +01:00
/DestinationImageFile:%SOURCES%\install.wim ^
2020-12-20 17:14:56 +01:00
/Compress:Max ^
/CheckIntegrity
2020-12-20 13:37:23 +01:00