This commit is contained in:
Michael H.G. Schmidt 2020-12-20 18:18:09 +01:00
parent b70ac258a1
commit 61714d0f3b
3 changed files with 19 additions and 11 deletions

View File

@ -1,7 +1,9 @@
rd /S /Q c:\TEMP\Win10
mkdir c:\TEMP\Win10 1>nul 2>nul
set W10="c:\TEMP\Win10"
powershell Mount-DiskImage -ImagePath "C:\TEMP\Win10.iso"
xcopy /CDI /HERBY D:\* c:\TEMP\Win10
powershell Dismount-Diskimage -ImagePath "C:\TEMP\Win10.iso"
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

View File

@ -1,4 +1,7 @@
del c:\TEMP\Win10*.iso
ftp -i -s:download-iso.ftp
move c:\TEMP\Win10*.iso c:\TEMP\Win10.iso
set ISOGLOB=c:\TEMP\Win10*.iso
set ISO=c:\TEMP\Win10.iso
del %ISOGLOB%
ftp -i -s:download-iso.ftp
move %ISOGLOB% %ISO%

View File

@ -1,8 +1,11 @@
del c:\TEMP\install.wim
set SOURCES="c:\TEMP\Win10\sources"
del %SOURCES%\install.wim
dism /Export-Image ^
/SourceImageFile:c:\TEMP\Win10\sources\install.esd ^
/SourceImageFile:%SOURCES%\install.esd ^
/SourceIndex:6 ^
/DestinationImageFile:c:\TEMP\install.wim ^
/DestinationImageFile:%SOURCES%\install.wim ^
/Compress:Max ^
/CheckIntegrity