This commit is contained in:
Michael H.G. Schmidt 2020-12-21 16:40:22 +01:00
parent 45e80d29cb
commit 60b84fd916
10 changed files with 16 additions and 11 deletions

View File

@ -1,4 +1,4 @@
echo off
@echo off
set MNT="c:\TEMP\WIM"
echo ####### Copy2Wim.cmd #######

View File

@ -1,4 +1,4 @@
echo off
@echo off
echo ####### RunTest.cmd #######

View File

@ -1,4 +1,4 @@
echo off
@echo off
set T="c:\TEMP"
set TOOLS="c:\tools"
set SCRIPTS="c:\scripts"

View File

@ -1,6 +1,7 @@
@echo off
set W10="c:\TEMP\Win10"
rd /S /Q %W10%
rd /S /Q %W10% 1>nul 2>nul
mkdir %W10% 1>nul 2>nul
powershell Mount-DiskImage -ImagePath %W10%.iso

View File

@ -1,9 +1,10 @@
@echo off
mkdir c:\TEMP 1>nul 2>nul
set ISOGLOB=c:\TEMP\Win10*.iso
set ISO=c:\TEMP\Win10.iso
del %ISOGLOB%
del %ISOGLOB% 1>nul 2>nul
ftp -i -s:download-iso.ftp
move %ISOGLOB% %ISO%

View File

@ -1,11 +1,12 @@
@echo off
set SOURCES=c:\TEMP\Win10\sources
del %SOURCES%\install.wim
del %SOURCES%\install.wim 1>null 2>nul
dism /Export-Image ^
/SourceImageFile:%SOURCES%\install.esd ^
/DestinationImageFile:%SOURCES%\install.wim ^
/SourceIndex:6 ^
/SourceName:"Windows 10 Pro" ^
/Compress:Max ^
/CheckIntegrity

View File

@ -1,3 +1,4 @@
@echo off
set SOURCES=c:\TEMP\Win10\sources
set MNT=c:\TEMP\WIM
@ -5,9 +6,9 @@ rem dism /Image:%MNT% /Cleanup-Image /StartComponentCleanup /ResetBase
rem dism /Unmount-Wim /MountDir:%MNT% /Commit
dism /Export-Image ^
/SourceImageFile:%SOURCES%\install_FINAL.wim ^
/SourceImageFile:%SOURCES%\install.wim ^
/DestinationImageFile:%SOURCES%\install_FINAL.esd ^
/SourceIndex:1 ^
/SourceName:"Windows 10 Pro" ^
/Compress:Recovery ^
/CheckIntegrity

View File

@ -1,4 +1,4 @@
echo off
@echo off
set SOURCES=c:\TEMP\Win10\sources
set FILENAME=%1

View File

@ -2,5 +2,5 @@ set SOURCES="c:\TEMP\Win10\sources"
set MNT="c:\TEMP\WIM"
mkdir %MNT%
dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro N" /MountDir:%MNT%
dism /Mount-Wim /WimFile:%SOURCES%\install.wim /Name:"Windows 10 Pro" /MountDir:%MNT%

View File

@ -1,3 +1,4 @@
@echo off
set SOURCES="c:\TEMP\Win10\sources"
set MNT="c:\TEMP\WIM"