w10install/wim/mount-image.cmd
Michael H.G. Schmidt 50aed4f923 added rufus
2021-04-05 23:06:24 +02:00

14 lines
342 B
Batchfile

@echo off
set SOURCES=c:\TEMP\W10\sources
set IMAGE=c:\TEMP\IMAGE
echo creating image mountpoint ...
mkdir %IMAGE% 1>nul 2>nul
rem set write access ...
attrib -R %SOURCES%\install.wim 2>nul
echo mounting install.IMAGE to %IMAGE% ...
dism /Mount-IMAGE /IMAGEFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%IMAGE%