Saved Bookmarks
| 1. |
Solve : need to when child batch file execution is over? |
|
Answer» Hi
C:test>type main.bat echo off echo main call bat1.bat echo RETURN from bat2 echo %TIME% call bat2.bat echo return from bat echo %TIME% echo Bye C:test>type bat1.bat echo off echo bat1 sleep.exe 60 echo %TIME% exit /b C:test>type bat2.bat echo off echo bat2 sleep.exe 60 echo %TIME% exit /b C:test> Output: C:test>main.bat main bat1 3:37:24.95 return from bat1 3:37:24.95 bat2 3:38:24.97 return from bat2 3:38:24.97 Bye C:test> |
|