[SOLVED] cmd prompt will not run maximized after CALL script ends.
Posted: 17 Jul 2020 14:41
Good evening,
I have a script where I want to CALL another batch script.
The problem I am having is that the CALLed batch script runs in a modified cmd prompt size using . . .
. . . and works great if it runs standalone.
Now when that script ends and I get returned to the orinal cmd prompt [ Test_CALL_File.bat ], it is still minimized, although I have . . .
. . . under the Menu label.
Any help will be greatly appreciated.
Thanks in advance.
I have a script where I want to CALL another batch script.
Code: Select all
call "%~dp0bin\Test_CALL_File.bat"
Code: Select all
mode con: cols=70 lines=9 & color 17
Now when that script ends and I get returned to the orinal cmd prompt [ Test_CALL_File.bat ], it is still minimized, although I have . . .
Code: Select all
:Menu
if not "%1"=="max" start /max cmd /c %0 max & exit/b
Any help will be greatly appreciated.
Thanks in advance.