Does anybody know of a Windows Explorer extension that will add a pane giving an inline command prompt, set to the current directory?

I know that on Windows 7 I can Shift-Right Click and get Open Command Prompt here, but my desktop soon gets cluttered with windows when I do that.

The specific example that made me ask for this is my work with Mercurial: it would be great just to be able to go to my directory and type, in some pane in the window, "hg push", and see all my changes pushed up to the repository. But I can think of other uses as well, so I'm sure somebody must already have written this extension.

link|improve this question

50% accept rate
feedback

3 Answers

You can just add your own custom context menu entry. Look here: http://www.burgaud.com/open-command-window-here/

Change the command to "hg push" and you should be all set.

link|improve this answer
feedback

If anything can do it, I bet Nomad can. Looks like I'm going to have to install it if I want to find out definitively, though.

link|improve this answer
From a quick glance at the website, Nomad appears to be a replacement for Windows Explorer, rather than offering plug-ins – Sam Mar 1 '11 at 18:54
feedback

Try typing into the address bar:

cmd /c notepad foo.txt

This opens up foo.txt in the current location of the Explorer window. When whatever you execute finishes, or is closed, the CMD console closes.

I've noticed that I can run anything in my path by doing this - even batch scripts. A pretty cool discovery I think!

I don't use Mercurial, so I cannot tell you if it would do what you want, but I think it will.

link|improve this answer
Opens two(!) new windows... I think that was something the OP wanted to AVOID! – TFM May 19 '11 at 5:42
@TFM: Just use the /c switch then. This seems to be exactly what Sam wants :D – paradroid May 19 '11 at 5:58
feedback

Your Answer

 
or
required, but never shown

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