Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

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.

share|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
    
Never knew you could do that. I think that's just what I need. –  Samuel Jack Jul 16 '12 at 11:55

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.

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

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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