I could not find a good answer for my problem. Perhaps someone has already the answer and would be very kind to share it. I am running a batch file and, at a certain time, I would like to minimize the batch window. Some codes later, maximize or return it to the actual size.
@echo off
mode con cols=100 lines=100
echo My batch is NOT minimized. This message is from a normal window!
start "window_will_be_minimized" k:\Folder20\MiniMaxi.exe
start /wait "" cmd /c c:\Folder00\Drawing.exe
Drawing.exe is now running.
REM --- At this point my batch window is minimized and the MiniMaxi.exe is closed
REM --- until the Drawing.exe is closed.
Drawing.exe is now closed.
REM --- Immediatelly my batch window must return to its previous size.
Therefore, the MiniMaxi.exe will be launched and then closed
start "window_will_be_MAXImized" k:\Folder20\MiniMaxi.exe
echo Again, this message is from a normal window
pause > nul
exit /b
Thank you in advance