home | about | newsletters | contact | advertising | Shop | radio | membership | site map

Helping Normal People Get Their Geek On And Live The Digital Lifestyle

Free and Premium. Why Register?

Login: Password: Remember me

Keeping The Command Prompt Open

Posted Apr 2, 2007 by Jason Faulkner  

One thing which is really annoying regarding launching a command prompt utility from the Windows Start > Run prompt is the command prompt window is immediately closed once the process is done. This means you can’t see any of the output produced which may include error messages. Of course you could save the output to a file, but then you have to go open the file which creates extra steps.

Instead, if you need to see the output, preface the command in the Start > Run prompt with “cmd /k”. For example, enter this in the Run prompt:

cmd /k ping google.com

You will see the ping command runs, but once it is done, the command prompt stays open so you can either review the output or run more commands.

Categories: Daily Tips

Fire Your Computer Guy!

A computer technician spills the beans and makes available the knowledge he has charged clients hundreds in service fees for. It is Computer Secrets Unleashed. Find Out More.

About the Author

Jason Faulkner is the man who brings you our daily tips. He is based in Atlanta, Georgia.

2 Comment(s)

  1. Carl Walters said:
    4/3/2007 2:49 pm

    Another way to go is off the Start button i.e. Start - All Programs - Accessories - Command Prompt. This will allow you to input commands and see the response. This also keeps the window open until you type “exit”, then hit enter.

    [Reply]

  2. Al King said:
    4/4/2007 8:20 am

    A more common way is to type cmd at the run command, then enter the desired command. This will keep the command window open until you close it.
    But the /k switch is interesting, I didnt know about it.

    [Reply]

Post a Comment

Free Weekly Newsletter

Weekly tech delivered straight to your inbox. Sign up and receive our free report: 20 Tips For Becoming a Technology Power User.

Name:
Email:
 

Featured Product of The Week

Getting Started with Ubuntu Linux

Getting Started with Ubuntu Linux

Now Playing on PCMech Video

Feature ImageHow-To: Buy A Computer Case

Feature ImageUsing Your Own FTP Server With Foxmarks

See All Videos | PCMech Channel Youtube Channel

Learn Your Laptop

  • See video on how to disassemble, maintain, and repair your laptop fast at www.learnlaptop.com.