w10install/wim/mount-image.cmd

11 lines
275 B
Batchfile
Raw Normal View History

2021-01-29 21:34:08 +01:00
@echo off
set SOURCES=c:\TEMP\W10\sources
set IMAGE=c:\TEMP\IMAGE
2021-01-29 21:34:08 +01:00
echo creating image mountpoint ...
mkdir %IMAGE% 1>nul 2>nul
2021-01-29 21:34:08 +01:00
echo mounting install.IMAGE to %IMAGE% ...
dism /Mount-IMAGE /IMAGEFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%IMAGE%
2021-01-29 21:34:08 +01:00