I remember in Ubuntu, I think it was Gnome, Nautilus had this option in the right-click context menu that allowed you to open a terminal whose working dir was the dir you were visiting in Nautilus, not the default '/home' dir. Is there any way to get that kind of functionality in Windows XP?

4 Answers 4


You don't need any tool to do this. Just a small Registry hack

Open a new file and paste this content, save as *.reg file

Windows Registry Editor Version 5.00

@="Open Command Prompt Here"

@="cmd.exe /k pushd %L"

And then double click into this file. Here we go!

  • Yeah, but I always hate to tell people to edit their registry without knowing their knowledge level ahead of time. By any chance, is there a complimentary registry hack to remove these keys? Jan 21, 2010 at 16:19
  • 1
    To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file Jan 21, 2010 at 17:21
  • +1 I have a bunch of .reg saved away with shell hacks but it was quicker to find it here. Worked like a charm. It would be great if you added the remove reg file for newbs who don't know how to modify the reg. Jan 8, 2011 at 9:19
  • It looks like it works no matter where you save the file - I just tested it. Nov 7, 2012 at 22:47
  • 2
    Is there a way to make this work when I right-click on the background of a folder that I'm already in? (As opposed to right-clicking on a folder icon, which is what your current solution enables.)
    – Ajedi32
    Jan 10, 2013 at 16:42

Probably the simplest way is to use the Microsoft Power Toys - there is a CmdHere.exe specifically to do this.


I know this question is about Windows XP, but this is a sidenote:

These methods are unnecessary in Windows 7. In this version Shift Right-click allows access to a context menu with additional options, including open terminal here (more detail at download squad). Also holding down Control will open it with elevated privileges.


xpy can add this to the Explorer.

Supporting Windows 2000, Windows XP and Windows Server 2003, xpy allows tweaking the default settings to your needs. This includes the disabling of services, changing the behaviour and usability, deleting undesired files, or tweaking programs like Internet Explorer, Windows Media Player and Windows Messenger.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.