w10install/export-image.cmd

12 lines
267 B
Batchfile
Raw Normal View History

2020-12-20 21:29:12 +01:00
set SOURCES=c:\TEMP\Win10\sources
2020-12-20 18:18:09 +01:00
2020-12-25 20:08:46 +01:00
del %SOURCES%\install.wim 1>nul 2>nul
2020-12-20 18:18:09 +01:00
2020-12-20 17:14:56 +01:00
dism /Export-Image ^
2020-12-20 18:18:09 +01:00
/SourceImageFile:%SOURCES%\install.esd ^
/DestinationImageFile:%SOURCES%\install.wim ^
2020-12-21 16:40:22 +01:00
/SourceName:"Windows 10 Pro" ^
2020-12-20 17:14:56 +01:00
/Compress:Max ^
/CheckIntegrity
2020-12-20 13:37:23 +01:00