Jump to content

Shortcut to the Command Prompt!


xtheunknown0
 Share

Recommended Posts

Hi,

In Mueller's 'Windows Administration at the Command Line' he provides some instructions to being able to right-click a folder and open up Command Prompt IN THAT DIRECTORY.

I'll paraphrase some of it:

1. cmd.exe and get regedit up.

2. Goto HKEY_CLASSES_ROOT\Folder\shell. Right click this folder and make a new key.

3. Type Command_Prompt_Here and press Enter

4. Right click this key and choose New-Key and type command and press Enter

5. Right click this key and choose New-String Value and type

cmd.exe /k \"cd %1\"

press enter and close regedit.

Is the string right?

Link to comment
Share on other sites

Is the string right?

Have you actually tried it?

YES

I seemed to have a problem if I did it directly in the Registry Editor application but if you write a .reg file manually and double-click it, then it works better (in my experience).

If anyone doesn't know how to write this specific registry file, well I'd like to share it but I don't think the author would really like that :|

Albert

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy