Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • Google+
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Windows ›
Add Command Prompt on Right Click

Add Command Prompt on Right Click

November 7, 2010 Windows Jesin A Leave a Comment

windows category thumbnail

A registry tweak for command line warriors, even with the latest Windows AERO theme power users still prefer the command prompt to accomplish certain tasks. But navigating through folders and subfolders is painful especially if the folder names are long containing numbers and alphabets like a3f5a2ed3eea41ec9b2198da. Add a command prompt option to the context menu so that you can simply right click any folder select “Command Prompt” and the Command prompt opens with the specified folder as the working directory.

Backup the Windows Registry

Never skip this step always backup the registry before proceeding. Go to Start -> Run or type [windows key] + R type regedit to open the windows registry editor. Open File menu click export, select a safe location, enter a meaningful file name using which you can identify before what change you did the backup. The file is saved as file.reg. To restore from the file in case something goes wrong, from the File menu in the registry editor select Import navigate to the file location and select the .reg file.

Add Command Prompt to Context Menu

Lets get into action now, from the Registry editor navigate to the following location

HKEY_CLASSES_ROOT\Directory\Shell

Right Click on Shell select new -> Key and name the key as Command. Select the newly created Command subkey and on the right side set the value of (default) to Command Prompt Create another key under Command called command and navigate to it. Now you should be inside

HKEY_CLASSES_ROOT\Directory\Shell\Command\command

On the right side of this key set the value of (default) as

cmd.exe /k cd %1

Now right click a folder and see the command prompt in the context menu

add command prompt right click
Clicking the Command Prompt option will open the command prompt in that location

Related posts:

windows category thumbnailAdd Copy To and Move To in the Context Menu windows category thumbnailChange Registered To in Windows windows category thumbnailHide Last Logged in Username in Windows (Registry Tweak) windows category thumbnailDisable Right Clicking on the Desktop windows category thumbnailInternet Explorer Change User Agent

Tags: registry tweaks, windows registry

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.