Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / shell

Open a command prompt anywhere.

5.00/5 (2 votes)
23 Jun 2011CPOL 6.9K  
My XP method is to:Go to C:WINDOWSsystem32Right click on cmd.exeSend to Desktop (shortcut)Right click on the Desktop shortcutClear the start in parameterOn the address line of any Explorer directory, start typing cmd and you will get a list of any icons on the Desktop starting...

My XP method is to:



  1. Go to C:\WINDOWS\system32\
  2. Right click on cmd.exe
  3. Send to Desktop (shortcut)
  4. Right click on the Desktop shortcut
  5. Clear the start in parameter

On the address line of any Explorer directory, start typing cmd and you will get a list of any icons on the Desktop starting with cmd. Select cmd.exe.lnk and it will execute the shortcut in that directory.


This works for all your Desktop items. Try typing MY.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)