If you are a Windows user, you know that sometimes you really need to make use of the Command Prompt, for things like “ping” or “tracert”. Unless you are a GUI fanatic.
But have you noticed that sometimes when you type a command in the Run box, the prompt closes immediately after execution? There must be a way to keep it open, right?
Today, I will share that trick with you, and it’s really simple to do.
First, you need to see what I mean. Type “ping google.com” in the Run box and type enter or press Ok. The prompt should close after execution of the ping, not giving you time to see the results.
If this has ever happened to you (it does for me, on Windows Vista), then try this:
Before you type your command, put in “cmd /k” before.
For example, if “ping” closes for the prompt after execution, try “cmd /k ping google.com” or any other address.
I have tested on WinXP and Vista. Both work. Hope this is useful to you someday. π
Tags: Command Prompt, Microsoft, Tips and Tricks, Windows Vista, Windows XP