Author


April 22nd, 2008 @ 1:19 pm in Windows XP by Beast

It’s really irritating when a program needs to be run via the command window and the window closes immediately after execution. For example, I use ipconfig on occasion and I never knew how to keep the darn thing open long enough to see the information I needed. So I resorted to simultaneously running the program and taking screenshots until my timing was perfect and I was finally able to nab the results I needed. Recently, though, I discovered an alternative and it makes the auto-closing window a thing of the past.

Go to Start -> Run… and type cmd /k [command] where [command] is the program that you’re wanting to run. So if you’re wanting to run ipconfig, the line would be:
cmd /k ipconfig

Real simple and easy. I’ve only tested this out on a few different commands, but they all worked for me.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>