Command+Prompt+Utilities+Run+successfully+from+shortcuts

Command Prompt Utilities Run successfully from shortcuts

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 XP, you have probably noticed that it does not actually work.

Well that is not strictly true, it does work, but the command prompt window with your data opens and closes in a flash.

This is how you get them to work the way you would like them to :‐

First you will need to create a shortcut on your desktop for any of the commands.

If we use the IPCONFIG utility as an example:‐

Right click an empty area of the desktop and select ʹNew.ʹ

Select ʹ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,

Therfore the entry will look like this :‐

Cmd /K Ipconfig

Now you need to name your shortcut to something appropriate and give it an icon from the ʹ%Systemroot%\System32\SHELL32.Dllʹ Location. , or from another location where you have stored downloaded free icons.

Now you have a fully working, very convenient desktop shortcut.

This you can then copy to a folder which you have created on your Quick Launch Bar probably named Commands

( As detailed in one of my other Tips. )