|
Registry Fix Method
Here's how you can
get the command prompt to appear in any directory you want...
instantly!
- Open up Notepad and type in the following text (as shown
in the picture below) :-
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Command]
@="Command &Prompt"
[HKEY_CLASSES_ROOT\Directory\shell\Command\command]
@="cmd.exe /k \"cd %L\""

- Save the file with the .reg extension, instead of the
usual .txt extension. In this example, the file is
saved as Command.reg.
- Now, double-click the saved file. Again, we are using Command.reg
as an example.

- A pop-up message (shown below) will appear. Click on Yes
to allow the contents of the Command.reg file to be
added to the registry.

- A confirmation pop-up screen will announce that the
information in the Command.reg file has been
successfully entered into the registry. Just click OK
to continue.

- Now, open up Windows Explorer.
- If you right-click on any directory, you will notice a Command
Prompt option.

- Clicking on that Command Prompt option will
bring up the Command Prompt in that directory itself.
- Here's what happened when I clicked on the Command Prompt
option with the All Users directory selected :-

- See? Using this method, I'm immediately transported to the D:\Documents
and Settings\All Users\ directory without even typing a
single letter of that path!
- So, from now on, if you want a command prompt to open up
showing a directory, just navigate to that directory using
Windows Explorer, right-click and select Command Prompt!
:)
Notes
- You can delete the registry file (eg. Command.reg)
after use because once the information has been added to the
registry, it will stick there until you remove it.
Comments?
If you have a comment or question about this tip, please post
them here.
Thanks for your time and I hope this tip has helped you some! :)
Adrian Wong
Adrian's Rojak Pot
http://www.rojakpot.com/
http://www.adriansrojakpot.com/
|