News:

NOTICE: This forum is mostly an archive, though new posts are allowed. Registration may require manual admin activation. After registering visit https://bitsum.com/contact/ to request account activation.

Main Menu

Command line applications - how to keep them on the screen...

Started by hanemach_gt, June 19, 2013, 01:22:18 PM

Previous topic - Next topic

hanemach_gt

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.



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.  :)
<img src="http://imageshack.com/a/img913/7827/On37F9.gif"/>

BenYeeHua

Great tip!
I always crazy for clicking on the pause button many time. ;D

hanemach_gt

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.  ;)
<img src="http://imageshack.com/a/img913/7827/On37F9.gif"/>

BenYeeHua

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

Jeremy Collake

Software Engineer. Bitsum LLC.

Pr0fessor

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.



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    :(

hanemach_gt

<img src="http://imageshack.com/a/img913/7827/On37F9.gif"/>