Dear,
Your script1.bat works like it is design.
Important for you is to know:
- COM/EXE doesn't using CALL statement. during execution BAT file will wait
for completion. - BAT requires a CALL statement or not.
- required CALL statement means: your script1.bat will wait for the completion
of calling BATch file.
- CALL statement not using means: your script1.bat will start calling BATch file
and will NOT return to your next statement of script1.bat after completion.
So your script1.bat may look like:
code:
@echo off
echo.
echo Synchronizing Desktop Time with Domain
echo.
net time \\dc1-sd /set /yes >nul
%0\..\kix32.exe %0\..\macro.kix
call %0\..\inv.bat
call %0\..\makedir.bat
call %0\..\netbackup.bat
@echo off
greetings.
btw: we advise you to use macro.kix instead of macro.bat, when
it is a kixtart scripts. Yet, it is very confusing.