add CMD to right click menus

H

Husky

Is there a simple way to add CMD current directory to the right click menu ?

I use the CMD many times in directories, and even with LIST, it takes time to
walk thru the directories to the one I want when I'm normally just sitting
there in explorer.

There was a program I had ages go that added a hundred different commands
accessible from the right click, but CMD is the only one I need.

But it could be useful to know how to add any program to the right click menu.
 
S

Squire

CMD in XP is reserved for the Windows command prompt.
You may have to use another name.
Go to the cmd prompt in windows and type CD\ then type cmd.exe /? to see all
the switches.

--
Jerry

A turtle never gets anywhere
unless he sticks his head out.

Is there a simple way to add CMD current directory to the right click menu ?

I use the CMD many times in directories, and even with LIST, it takes time
to
walk thru the directories to the one I want when I'm normally just sitting
there in explorer.

There was a program I had ages go that added a hundred different commands
accessible from the right click, but CMD is the only one I need.

But it could be useful to know how to add any program to the right click
menu.
 
N

Nepatsfan

(e-mail address removed),
Husky said:
Is there a simple way to add CMD current directory to the
right click menu ?

I use the CMD many times in directories, and even with LIST,
it takes time to walk thru the directories to the one I want
when I'm normally just sitting there in explorer.

There was a program I had ages go that added a hundred
different commands accessible from the right click, but CMD
is the only one I need.

But it could be useful to know how to add any program to the
right click menu. --
more pix @ http://members.toast.net/cbminfo/index.html

The easiest way is to download and install the "Open Command
Window Here" XP PowerToy available here:

Microsoft PowerToys for Windows XP
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

Look on the right for CmdHere.exe.

Here are some other options:

How can I add a Command Prompt option to the default Explorer
right click context menu?
http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm

Good luck

Nepatsfan
 
H

Husky

CMD in XP is reserved for the Windows command prompt.
You may have to use another name.
Go to the cmd prompt in windows and type CD\ then type cmd.exe /? to seeall
the switches.


check out Nepatsfan's reply that's what I asked.
 
R

Rick \Nutcase\ Rogers

Hi,

It's not that easy, and requires some serious registry context menu editing.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org

(e-mail address removed),


The easiest way is to download and install the "Open Command
Window Here" XP PowerToy available here:

Microsoft PowerToys for Windows XP
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

That'll do it. Any idea how to add any program you want to a right click
menu ?
 
R

Ramesh, MS-MVP

how to add any program to the right click menu

Use the Folder Options, File Types tab.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Is there a simple way to add CMD current directory to the right click menu ?

I use the CMD many times in directories, and even with LIST, it takes time
to
walk thru the directories to the one I want when I'm normally just sitting
there in explorer.

There was a program I had ages go that added a hundred different commands
accessible from the right click, but CMD is the only one I need.

But it could be useful to know how to add any program to the right click
menu.
 
R

Ramesh, MS-MVP

Well. It has everything to do with *static* context-menu items.

Read here:

Annoyances.org - Customize Context Menus:
http://www.annoyances.org/exec/show/article02-026

OTOH, shell extensions are programs (usually DLLs) which can also be added
to the context-menu as shell extension handlers.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Use the Folder Options, File Types tab.
What does that have to do with the right click menu ? or adding commands to
it
?
 
G

GTS

Commands can be added to the right click menu in Windows Explorer (if that's
your interest) by placing them (typically a link or batch file) in
D:\Documents and Settings\USERNAME\SendTo
--

(e-mail address removed),


The easiest way is to download and install the "Open Command
Window Here" XP PowerToy available here:

Microsoft PowerToys for Windows XP
http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

That'll do it. Any idea how to add any program you want to a right click
menu ?
 
H

Husky

Well. It has everything to do with *static* context-menu items.

Read here:

Annoyances.org - Customize Context Menus:
http://www.annoyances.org/exec/show/article02-026

A tip I need to stick in my hints folder..
adding the registry link also help for future reference.
My Computer\ HKEY_CLASSES_ROOT\ Directory\ shell
add new item.
For folder icons:

Run the Registry Editor (REGEDIT.EXE).
Open My Computer\ HKEY_CLASSES_ROOT\ Directory\ shell.
Select New from the Edit menu, and then select Key.
Here, type the name of the new item you want added to the list, and press Enter.
Highlight the new key, select New from the Edit menu, and then select Key again.
Type command for the name of this new key, and press Enter.
Double-click on the (default) value in the right pane, and type the fullpath and filename of the application you want associated with this entry.
Close the Registry Editor when finished.

tnx
 
H

Husky

Commands can be added to the right click menu in Windows Explorer (if that's
your interest) by placing them (typically a link or batch file) in
D:\Documents and Settings\USERNAME\SendTo

I wasn't asking about sendto, haven't used it cept maybe a few times withwin98
for ages. But it's good to know ...
 
A

Admiral Q

Serious editing huh? This is all that is needed to add right click Command
Prompt to drives/directories - these can actually be put in a file with a
reg extension and click on the file and they'll be there:
-- begin cmd.reg
Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1 "

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

[HKEY_CLASSES_ROOT\Drive\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1

-- end cmd.reg
 
H

Husky

On Tue, 21 Feb 2006 19:50:28 -0500, "Admiral Q"

fantastic. definitely worth keeping.
I used the winxp powertool to make the installation.
Serious editing huh? This is all that is needed to add right click Command
Prompt to drives/directories - these can actually be put in a file with a
reg extension and click on the file and they'll be there:
-- begin cmd.reg
Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1 "

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

[HKEY_CLASSES_ROOT\Drive\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1

-- end cmd.reg

And as it turns out this is exactly what's in my registry now. I assume the
powertool did it.
 
R

Rick \Nutcase\ Rogers

Hi,

The request was for "any program", not just a command prompt.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org

Admiral Q said:
Serious editing huh? This is all that is needed to add right click
Command Prompt to drives/directories - these can actually be put in a file
with a reg extension and click on the file and they'll be there:
-- begin cmd.reg
Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\Directory\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1 "

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

[HKEY_CLASSES_ROOT\Drive\shell\Command Prompt Here\command]
@="cmd.exe /k cd %1

-- end cmd.reg
 
R

Rick \Nutcase\ Rogers

Right, and that is what I had posted that in response to. The easiest way,
as Ramesh has pointed out, is to add a command under file types in folder
options. It keeps it in one specific part of the menu, but that generally is
sufficient for most users.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org

Hi,

The request was for "any program", not just a command prompt.

that was the 2nd request.
1st was just for CMD.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top