Register  

< Browse > Home / Tips and Tricks / Blog article: Adding Command Prompt in the Right Button in Explorer

| Mobile | RSS

Adding Command Prompt in the Right Button in Explorer

February 15th, 2007 | No Comments | Posted in Tips and Tricks by Vineet Sharma

I wasted lot of time in searching this tweak for Windows XP. Here I am sharing this tweak with you.This might be useful to you.

You can do this in the following steps-
1.Goto Start->Run.Enter regedit.
2.Backup your Registry first.This is a very important step.If your registry gets corrupted you can use this Backup to restore it.
3.Find the following key HKEY_CLASSES_ROOT\Directory\shell & make a new key called Command Prompt.
4.Within this key create another key called command.
5.Now go to the right panel and modify the default with : Cmd.exe /k cd “%1
or you can copy the following code into a Text Editor such as Notepad.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt]

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt\command]
@=”Cmd.exe /k cd \”%1\”"

& save this file with a .reg extension.Double Click on this file & Merge this file into Registy.

This is a small trick i like to share it with you.

In a command window you can use the TAB key as “complete” key - like in unix/linux.

Example:
Start a cmd window and go to root (c:\)
type cd - hit TAB key - and you will now scroll the directories, also hidden ones.

Try: cd doc - hit TAB key - You get up “Documents and Settings” - hit enter. in Documents and Settings type cd and hit key several time - and you will scroll through the names of the directories - also the hidden ones. 

  • Digg
  • del.icio.us
  • StumbleUpon
  • IndianPad
  • Reddit
  • Google
  • Technorati
  • Facebook
  • E-mail this story to a friend!
  • Print this article!
Leave a Reply 33 views, 1 so far today |

Random Posts

Leave a Reply