Jump to content

util or shell extension to have dockable cmd bar in XP?


Leeoniya

Recommended Posts


Well, try to import this registry key. :rolleyes: You can also change to [HKCU\Directory] or other.

Windows Registry Editor Version 5.00

[HKCU\*\shell\cmd\command]
@=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,73,00,79,\
00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6d,00,64,00,2e,00,65,00,\
78,00,65,00,00,00

Link to comment
Share on other sites

@lqs_lfzz

Interesting. :)

Just a "general" question, is there any difference between %windir% and %SystemRoot% (which is normally used in this kind of things)? :unsure:

BTW one could also add the "DosHere" to Drive and Directory objects:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shell]
@="none"

[HKEY_CLASSES_ROOT\Drive\shell\DosHere]
@="DOS &Prompt Here"

[HKEY_CLASSES_ROOT\Drive\shell\DosHere\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6d,00,\
64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,6b,00,20,00,70,00,75,00,73,00,68,\
00,64,00,20,00,25,00,31,00,00,00


[HKEY_CLASSES_ROOT\Directory\shell]
@="none"

[HKEY_CLASSES_ROOT\Directory\shell\DosHere]
@="DOS &Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\DosHere\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,63,00,6d,00,\
64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,6b,00,20,00,70,00,75,00,73,00,68,\
00,64,00,20,00,25,00,31,00,00,00

(i.e. %SystemRoot%\System32\cmd.exe /k pushd %1)

@Leeoniya

I am also right now searching for something like it.

The "closest" I found to what we both are looking for is this thingy here:

http://www.koma-code.de/index.php?option=c...8&Itemid=88

I'll let you know if I find something else. :)

jaclaz

Link to comment
Share on other sites

Hum, I haven't found the difference between %windir% and %systemroot%, maybe for most of us Windows is equal to System. And of course, there are many other context menus that be added by Windows registry. For example, you can add "regsvr32 /s %1" to the dll files context menu.

Link to comment
Share on other sites

Another idea is to right-click on your taskbar, uncheck `Lock the Taskbar` goto Toolbars and check Address. Drag it accross the taskbar (or onto the desktop at a suitable size and shape). This is effectively the same as having a run box always available. You can put a web address there and go/enter or for example enter cmd or calc. You'll be surprised how useful it is.

As for the %windir% and %systemroot% variables, the former is really only used for legacy purposes for older OS compatibility. %systemroot% is the correct one for modern OS's.

Link to comment
Share on other sites

As for the %windir% and %systemroot% variables, the former is really only used for legacy purposes for older OS compatibility. %systemroot% is the correct one for modern OS's.

Thanks for clarifying. :)

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! :)

And after much searching, most probably Console could be the solution, with a bit of tweaking version 1.5 beta can be set in very convenient ways:

http://sourceforge.net/projects/console/

Version 2 has many added features, all nice, but maybe too much of them.

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

  • 3 years later...

New kid on the block:

http://code.kliu.org/cmdopen/

The ContextConsole Shell Extension adds an "Open Command Prompt" menu item to the context menus (right-click menus) in Windows Explorer so that you can open a command prompt in the selected directory (or directories) or in the current directory that you are viewing.

Features

Open a command prompt in the current directory and in multiple directories at once

You can open a command prompt in the directory that you are currently in by right-clicking on any empty screen space in the directory. This eliminates the need to navigate up a level in order to open a command prompt in the current directory, which was one of the biggest shortcomings of Microsoft's Open Command Window Here PowerToy.

You can also open multiple command prompts by selecting a group of directories and invoking the command prompt.

Support for elevated command prompts

On versions of Windows that have UAC (Windows Vista, Windows 7, etc.), the ContextConsole Shell Extension can be used to open elevated command prompts.

Tiny footprint

Compared to similar shell extensions, the ContextConsole Shell Extension has an extremely small memory and disk footprint (the 32-bit version consumes less than 16 KiB of disk space).

Free and open-source

The ContextConsole Shell Extension is open-source, licensed under a BSD-style license, so that anyone with some knowledge of C can easily build their own customized version of this shell extension.

Compatibility: international support and 64-bit-compatible

The user interface text has been translated into many languages, so that it will blend in seamlessly with most systems. Additionally, this shell extension is natively Unicode and can thus support a wide range of directory names.

Both x86-32 and x86-64 systems are natively supported, so you can use this with the increasingly common 64-bit versions of Windows.

Support for network paths

You can even open directories from network paths (UNC paths).

Quite a bunch of other nifty tools on the site (under "misc") :thumbup

jaclaz

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...