I have two batch files, one of them executes another, i.e.
- "My Batch File" > 2. "Some Other Batch File"
I've created a shortcut of the first batch file and edited its properties to call its in following way.
cmd.exe /k "<SomePath>\<My Batch File>.bat" & pause
What i want to do I want the console window to be open after the execution of the batch file is over. Now it just closes, tried to play around the cmd flags, no result.
Platform : Windows7
UPDATE 1
Modified the structure, the simple example like this does not work as well, Only one batch file i.e. there is no the 2. "Some Other Batch File" The only batch file contains smth like this
start /B /LOW /WAIT make package
cmd /K
UPDATE 2
The same shortcut which is invoked from Explorer does not close the console window. But the console window closes when the shortcut is invoked from the pinned item on taskbar
Any ideas how to keep the console window open?
My Batch File
to stick around?