Run command prompt utilities from shortcuts in Vista/XP

If you're new here, you may want to subscribe to our RSS feed. Thanks for visiting!


If you have ever tried to create a shortcut to ‘IPCONFIG’ or any of the other myriads of useful command prompt utilities included with Windows Vista/XP, you have probably noticed that it does not actually work Or rather, it does, but the command prompt window with your data opens and closes in a flash.

Here’s a tip that will allow you to create working shortcuts on your desktop for any command. We will use the IPCONFIG utility as an example

Right click an empty area of the desktop and select ‘new.’ Choose ‘new shortcut’ to open the shortcut wizard.

In the ‘type the location of the item’ box, enter ‘cmd /k’ followed by the program you wish to run. In the case of IPCONFIG, you would enter ‘cmd /k ipconfig’.

Name your shortcut something appropriate and give it an icon from the ‘%SystemRoot%\system32\SHELL32.dll’ location. Now you have a fully working, very convenient desktop shortcut.

The output shows as follows

Related Articles


Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader.

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

This was very helpful. Excelent infact. I combined it with killtask and added a keyboard shortcut. Thus I can hit CTRL+ALT+K and it will kill the specified task that I want! (work safety :D )

Ryan

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)

(required)