2021-03-16 23:51:45 +01:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
rem check for wim script directory ...
|
|
|
|
if NOT EXIST wim (
|
|
|
|
echo ERROR: script directory [ wim ] NOT FOUND!
|
|
|
|
echo ABORT.
|
|
|
|
exit /b
|
|
|
|
) else (
|
|
|
|
cd wim
|
|
|
|
)
|
|
|
|
|
|
|
|
clear
|
2022-12-25 20:52:46 +01:00
|
|
|
echo =========================================
|
|
|
|
echo START of MAIN image preparation ...
|
|
|
|
echo =========================================
|
2021-03-16 23:51:45 +01:00
|
|
|
date /t
|
|
|
|
time /t
|
|
|
|
echo.
|
|
|
|
|
|
|
|
rem start scripts
|
|
|
|
for %%S in (
|
|
|
|
|
|
|
|
export-image.cmd
|
|
|
|
mount-image.cmd
|
|
|
|
|
|
|
|
) do (
|
|
|
|
|
|
|
|
echo ########## calling [ %%S ] ##########
|
|
|
|
call %%S
|
|
|
|
echo.
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
rem go back ...
|
|
|
|
cd ..
|
|
|
|
|
2022-12-25 20:52:46 +01:00
|
|
|
echo checking for NTLite ...
|
|
|
|
if NOT EXIST %NTLITE% (
|
|
|
|
echo.
|
|
|
|
echo ERROR: program [ NTLite ] NOT FOUND!
|
|
|
|
exit /b
|
|
|
|
) else (
|
|
|
|
echo calling NTLite ...
|
|
|
|
rem stupid windows: the "" are needed or NTlite will not be started - sigh -
|
|
|
|
start /B "" %NTLITE%
|
|
|
|
)
|
|
|
|
|
2021-03-16 23:51:45 +01:00
|
|
|
echo.
|
|
|
|
date /t
|
|
|
|
time /t
|
2021-03-17 00:22:50 +01:00
|
|
|
echo ======
|
|
|
|
echo READY.
|
|
|
|
echo ======
|
2021-03-16 23:51:45 +01:00
|
|
|
|