Jump to content

"Open Command Window Here" in current folder


scx

Recommended Posts

Hello

I would like to use "Open Command Window Here" (Open in terminal) in Windows Explorer. I know, that PowerToys for Windows XP include program "Open Command Window Here", but I use Windows 2000.

I found site [4] which describes how to add this command to shell extension.

It works OK for directories and drivers [1], but i can't add "Open Command Window Here" for current folder (without selecting directory) [2].

But there are TortoiseCVS/SVN, so it is possible to add items to this list of commands. My question is: how?

I searching for registry key [3], but found only directory, folder, file, etc.

[1] - http://wstaw.org/d/6439

[2] - http://wstaw.org/d/643a

[3] - http://wstaw.org/d/6438

[4] - http://www.burgaud.com/open-command-window-here/

Thanks in advance.

Sorry for my poor English, but it isn't my native language.

Link to comment
Share on other sites


Your English is fine (and better than any second language that I speak, though that might have been less true several decades ago). I'm not sure if this would help, but http://www.terabyteunlimited.com/downloads-free-software.htm has 'drop to dos' which allows you to right-click on a folder in Explorer and get a command window into it.

- bill

Link to comment
Share on other sites

  • 2 weeks later...

I found a program called "FileMenu Tools" [1][2].

It is a shell extension [3][4] (not just simple entry in the Windows Registry [5]).

It allows to open the cmd console (command prompt) in the current folder [6][7] (without selecting a subfolder).

post-264689-1257503795_thumb.jpg

[1] - http://www.lopesoft.com/en/fmtools/info.html

[2] - http://www.softpedia.com/get/System/OS-Enh...enu-Tools.shtml

[3] - http://wstaw.org/p/717d/

[4] - http://wstaw.org/p/717f/

[5] - http://wstaw.org/p/717c/

[6] - http://wstaw.org/p/717a/

[7] - http://wstaw.org/p/717b/

Edited by scx
Link to comment
Share on other sites

I'm pretty sure that the xp power toy installs under 2k also.

I have been using cmdopen.dll from http://code.kliu.org/cmdopen/ which even works on the current window's background (eg right-click on background, open prompt to current folder). It's quite good.

I made a little hack to it to open cmx.exe instead of cmd.exe (replace instances of cmd.exe by cmx.exe), and then made a copy of 2k/xp write.exe as cmx.exe, but to open a different program (eg 4nt.exe). Simply replacing cmx.exe to different versions opens different command processors (eg defanged cmd.exe).

Another program to use is Spiritpyre's shell extentions (google "spiritpyre") You can download either the shell menu or selected shell extentions. The former allows you to add your own items to a pop-out menu from the default context menu.

You can simply change the command in the configurator program that comes with it.

Link to comment
Share on other sites

I'm pretty sure that the registry file below will work on Win2k.

Windows Registry Editor Version 5.00

;Add "Open Command Window Here" to the context menu
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Open Command Window Here"

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

[HKEY_CLASSES_ROOT\Drive\shell\cmd]
@="Open Command Window Here"

[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

Edited by beats
Link to comment
Share on other sites

Problem is "open in current directory".

There is also this one:

http://www.boot-land.net/forums/index.php?...c=2624&st=2

A couple of old topics:

http://www.msfn.org/board/cmd-window-curre...enu-t57907.html

http://www.msfn.org/board/util-shell-exten...xp-t111384.html

I guess this:

http://www.msfn.org/board/util-shell-exten...384-page-8.html

Still not exactly the needed app, but maybe of interest:

http://www.roggel.com/NGNeer/BackgroundCMD/index.shtml

UNLIKE the "DOS Here" registry trick, this one is a .dll that opens a CMD prompt IN current OPENED folder, VERY,VERY handier! :)

is what you are looking for. (and yes it works allright on 2K)

jaclaz

Link to comment
Share on other sites

  • 2 weeks later...

The particular DLL i suggested will, when ye right-click on the background of a folder, offer to open the command prompt in that folder. For the microsoft one, ye need to be in the parent of the current folder, which is different in some explorer windows. (eg My Documents has parent 'desktop' in explorer, but the correct folder is the user root.)

Another one is to try spiritpyre's DLL extentions, which also work under Win2k.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...