w10install/wimscripts/copy-iso.cmd

10 lines
210 B
Batchfile
Raw Normal View History

2020-12-20 18:18:09 +01:00
set W10="c:\TEMP\Win10"
2020-12-20 17:12:48 +01:00
2020-12-20 18:18:09 +01:00
rd /S /Q %W10%
mkdir %W10% 1>nul 2>nul
powershell Mount-DiskImage -ImagePath %W10%.iso
robocopy \\.\CDROM0 %W10% /MIR /256
powershell Dismount-Diskimage -ImagePath %W10%.iso
2020-12-20 17:12:48 +01:00