Keeping Console Open

Recently I had to launch “command line” applications quite often. I was very annoyed by the fact that the Window closes itself automatically if you simply double click on the .exe.

I was about to go the “hard way” by creating a Windows Explorer Shell Extension to add a “Launch and Keep Open” option when a friend suggested that I create a batch file and add a Shortcut to the “SendTo” folder in Windows. To quickly access this folder, simply use


in the Address Bar of Explorer, it will bring you directly there.

Here is the listing of the batch file I created and called keepopen.bat


I then created a shortcut that I called Keep Open in the SendTo folder and here’s the result:

Keep Open Menu

and instead of having a Command Prompt window that closed automatically, I was greeted with:

Keep Open Result

Hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *