command prompt by directly right-clicking on the folder
- 6 July, 2009 //
- Computer //
- Tags : command prompt
- 2 Comments
Very frequently we need to create command prompt at a certain folder. Most users directly go to command prompt and then type out the entire path name to get to the required folder.
Below are the step it worked in windows xp
1. Create a text file wherever it is easy for you to access it.
2. Copy and past the following data into the file command.txt :
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@=”Command &Prompt Here”
[HKEY_CLASSES_ROOT\Directory\shell\DosHere\command]
@=”C:\\Windows\\System32\\cmd.exe /k cd \”%1\”"
[HKEY_CLASSES_ROOT\Drive\shell\DosHere]
@=”Command &Prompt Here”
[HKEY_CLASSES_ROOT\Drive\shell\DosHere\command]
@=”C:\\Windows\\System32\\cmd.exe /k cd \”%1\”"
3. Save the file
4. Now rename the extension from a command.txt to a command.reg (registry type file). Go to DOS prompt and type C:\ren command.txt command.reg
5. Double clicking the file will pop up a dialog box saying “Are you sure you want to add the data to the registry”.
6. Say yes and the data gets added into your windows registry.
There is also a Microsoft PowerToy called CmdHere.exe that will automatically add this functionality.
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
Look at the downloads links on the right side, it is the 7th one down.
Hi Chris,
Thanks for the information.
Thanks
webspiderhub