w10install/wim/mount-boot.cmd
2021-03-16 23:23:06 +01:00

14 lines
351 B
Batchfile

@echo off
set SOURCES=c:\TEMP\W10\sources
set BOOT=c:\TEMP\BOOT
echo creating wim mountpoint for BOOT ...
mkdir %BOOT% 1>nul 2>nul
echo set write access for boot.wim ..
attrib -R %SOURCES%\boot.wim
echo mounting boot.wim to %BOOT% ...
dism /Mount-Wim /WimFile:%SOURCES%\boot.wim /Name:"Microsoft Windows Setup (x64)" /MountDir:%BOOT%