w10install/03_PrepareBoot.cmd
Michael H.G. Schmidt 341d96afad bugfixing
2023-01-12 15:28:17 +01:00

46 lines
650 B
Batchfile

@echo off
rem check for the image directory ...
if NOT EXIST image (
echo ERROR: directory [ image ] NOT FOUND!
echo ABORT.
exit /b
) else (
cd image
)
rem check for wim file ...
if NOT EXIST %SOURCES%\boot.wim (
echo ERROR: [ %SOURCES%\boot.wim ] NOT FOUND!
cd ..
exit /b
)
echo =========================================
echo START of BOOT image creation process ...
echo =========================================
echo.
rem start scripts
for %%S in (
mount-boot.cmd
finish-boot.cmd
) do (
echo ########## calling [ %%S ] ##########
call %%S
echo.
)
rem go back ...
cd ..
echo.
echo ======
echo READY.
echo ======