39 lines
520 B
Batchfile
39 lines
520 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
|
|
)
|
|
|
|
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 ======
|
|
|