Tuesday, February 15, 2011

Refrain Command Prompt from Disappearing

Windows basically execute run commands from within command prompt.
Every time you execute a command from windows run dialogue box
the command prompt just disappears. This method has it’s own
advantage & disadvantage.

But, sometime we need to see the command output in command prompt window. But run dialouge box just don’t allow us to do so.

Say, You have executed a command like chkdsk, ipconfig or systeminfo into run
dialogue box. But after executing this command the command prompt
will just quit without showing you any result.

But if you need to see the output of that command that you give in
run dialogue box you have to refrain command prompt from disappearing.
So, Here is the trick for Refrain Command Prompt from Disappearing :D
Just add cmd /k before you type in any command into run dialogue box.
For eg :
cmd /k ipconfig
cmd /k systeminfo

cmd /k chkdsk 

No comments:

Post a Comment