Bitsum Community Forum

General Category => Tips and Tweaks => Topic started by: hanemach_gt on June 19, 2013, 01:22:18 PM

Title: Command line applications - how to keep them on the screen...
Post by: hanemach_gt on June 19, 2013, 01:22:18 PM
Do you work a lot with command line programs and are irritated by the fact that double-clicking an executable (usually) causes it to disappear quickly?
This is a DOS habit-leftover, where programs were launched from the prompt, so it was unnecessary for them to pause at their "end". A program was returning to the prompt after having been executed and there was no graphical user interface to return to, except the prompt. Main aim of this trick is to make it possible to look up command line switches/arguments.

However, it is possible to work around it. I have tried to add an entry to right-click context menu and... it worked.

(http://img694.imageshack.us/img694/5276/6ygp.png)

I attach 2 files along with the post - their names tell about themselves. The trick described above was proved working in Windows 7.
As always - this and every advice comes with no warranty, the user makes use of it at their own risk.

EDIT: Re-attached files, typo fixed.  :)
Title: Re: Command line applications - how to keep them on the screen...
Post by: BenYeeHua on June 19, 2013, 02:07:47 PM
Great tip!
I always crazy for clicking on the pause button many time. ;D
Title: Re: Command line applications - how to keep them on the screen...
Post by: hanemach_gt on June 19, 2013, 02:25:26 PM
Quote from: BenYeeHua on June 19, 2013, 02:07:47 PM
Great tip!
I always crazy for clicking on the pause button many time. ;D

You can always turn on shutter mode in your camera to catch the hilarious moment of displaying cute Command Prompt window.  ;)
Title: Re: Command line applications - how to keep them on the screen...
Post by: BenYeeHua on June 19, 2013, 10:45:34 PM
Quote from: hanemach_gt on June 19, 2013, 02:25:26 PM
You can always turn on shutter mode in your camera to catch the hilarious moment of displaying cute Command Prompt window.  ;)
lol, why not a screen record. ;D
Title: Re: Command line applications - how to keep them on the screen...
Post by: Jeremy Collake on June 20, 2013, 12:18:02 PM
Nice! That is something I'm also annoyed by.
Title: Re: Command line applications - how to keep them on the screen...
Post by: Pr0fessor on August 09, 2013, 06:28:00 PM
Quote from: hanemach_gt on June 19, 2013, 01:22:18 PM
Do you work a lot with command line programs and are irritated by the fact that double-clicking an executable (usually) causes it to disappear quickly?
This is a DOS habit-leftover, where programs were launched from the prompt, so it was unnecessary for them to pause at their "end". A program was returning to the promt after having been executed and there was no graphical user interface to return to, except the prompt. Main aim of this trick is to make it possible to look up command line switches/arguments.

However, it is possible to work around it. I have tried to add an entry to right-click context menu and... it worked.

(http://img694.imageshack.us/img694/5276/6ygp.png)

I attach 2 files along with the post - their names tell about themselves. The trick described above was proved working in Windows 7.
As always - this and every advice comes with no warranty, the user makes use of it at their own risk.

404 - Attachment Not Found    :(
Title: Re: Command line applications - how to keep them on the screen...
Post by: hanemach_gt on August 10, 2013, 04:52:56 AM
Done, Pr0fessor.  8)
Title: Re: Command line applications - how to keep them on the screen...
Post by: Pr0fessor on August 10, 2013, 08:40:33 AM
Quote from: hanemach_gt on August 10, 2013, 04:52:56 AM
Done, Pr0fessor.  8)

Thanks :D