Windows XP -"Open terminal here" shell extension?

16,789

Solution 1

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd]
@="Open Command Prompt Here"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd\command]
@="cmd.exe /k pushd %L"

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

Solution 2

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

Solution 3

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.

Share:
16,789
Enrico Tuvera Jr
Author by

Enrico Tuvera Jr

SKILLS: Primarily a Python developer, but I've messed around with other programming languages. My specialty is back-end web development with frameworks like Django and Flask. INTERESTS: Learning new tech, video games.

Updated on September 17, 2022

Comments

  • Enrico Tuvera Jr
    Enrico Tuvera Jr almost 2 years

    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?

  • DaveParillo
    DaveParillo over 14 years
    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?
  • Adewale Oluyinka
    Adewale Oluyinka over 14 years
    To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file
  • Evan Plaice
    Evan Plaice over 13 years
    +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.
  • Anderson Green
    Anderson Green over 11 years
    It looks like it works no matter where you save the file - I just tested it.
  • Adewale Oluyinka
    Adewale Oluyinka over 11 years
    Yes that's right. Save it wherever you want, run it and delete it after use.
  • Ajedi32
    Ajedi32 over 11 years
    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.)