Extended verbs in shell context menus

by Matt 27. October 2006 10:05

 A little while back, Tim Sneath posted a rather nice Vista tip.

Here's a trick that I don't think many people are aware of. Right-click on any folder on your Windows Vista machine while holding down the shift key. You'll see an extra context-sensitive menu item there: Open Command Prompt here. Just click on this menu and a command window will open with the current working directory set to the folder's actual location.

Now, this is a really nice thing. I've always installed the "command prompt here" power toy - now I don't have to. It's even better than the old version, too. It can automatically map a drive letter when you're browsing a UNC path, and it's available when right clicking on the background of a folder view, so you don't have to have the folder tree view visible.

And that's where you spot the bug. At least on my RC2 (5744) build, when you shift-right-click the folders in the folder tree view, it doesn't show up. This made me to wonder if it was a folder view thing. In other words, it wasn't a shell extension defined in the registry, but was a feature of the context menu in the folder view, something the tree view didn't have access to.

Fire up regedit (yes, UAC, I really meant to) and navigate to HKCR\Directory. There's a "cmd" key under both Background\shell and just shell. These both have a "command" key that specifies the cmd.exe command line to run. So, it's not a folder view thing, but a bug in the tree view. Fair enough.

The interesting part is in the "cmd" key. There's a value called "Extended". Knowing my shell extension terminology, there's a flag that gets passed through to a context menu extension called CMF_EXTENDEDVERBS. This tells the context menu to display an extended list of items - items that would normally be hidden. It's usually passed when you hold down shift. Looks like you can also specify it in the registry, too.

And this isn't just a Vista thing, either. It all works under XP, too. Handy thing to know.

Source: Tim Sneath : Windows Vista Secret #1: Open Command Prompt Here

Tags:

Vista | Shell Extensions | Context Menu Handlers

Comments (33) -

suv reviews
suv reviews
7/20/2011 10:21:02 PM #

I wonder if he cheated on her? I remember he cheated on his previous wife with JLO so it wouldn’t be surprising.

Reply

best hybrid vehicles
best hybrid vehicles
7/21/2011 12:50:46 PM #

Per il tuo bambino scegli Moncler. Una scelta di capi, estivi ed invernali, eccezionali. Tuo figlio sarà sempre alla moda e potrà muoversi in totale comodità.

Reply

ipad apps
ipad apps
7/24/2011 4:44:17 AM #

it ti permette di orientarti con semplicità nel pulviscolare niverso di Moncler.Troverai le indicazioni per lo spaccio o negozio Moncler più vicino a casa tua felpe moncler, pantaloni e abbigliamento sportivo.

Reply

Atlanta Tree Trimming Guy}
Atlanta Tree Trimming Guy}
10/28/2011 1:05:56 PM #

What a timely blog post. I always appreciate your meaningful and interesting feedback. I am often surprised that more people do not discuss this topic more often.

Reply

dr dre headphone
dr dre headphone
10/30/2011 10:40:20 PM #

It’s not easy to change friendship into love. But it's even harder to turn love into friendship.

Reply

Hilaria Rieff
Hilaria Rieff United States
1/15/2016 4:34:22 AM #

getting the last pair of shoes in your size AWESOME!

Reply

Arlie Toth
Arlie Toth United States
1/15/2016 4:58:47 AM #

Thaaaat IS awesome! lol hehe

Reply

Harriet Tenpas
Harriet Tenpas United States
1/15/2016 6:58:57 AM #

Congrats! So glad to see this site getting the recognition it deserves, the world can always use a little more awesome.

Reply

Russell Schlappi
Russell Schlappi United States
1/15/2016 7:11:54 AM #

the style of keeping you connected with so many things of different types is awesome and you find it interesting everytime.

Reply

Patrica Guccione
Patrica Guccione United States
1/15/2016 7:15:23 AM #

Congratulations on your success! You deserve it for brightening all of my work days with something to be excited about.

Reply

Wilton Megeath
Wilton Megeath United States
1/15/2016 8:29:18 AM #

this is awesome like the book of awesome

Reply

tworzenie stron web warszawa
tworzenie stron web warszawa United States
3/24/2016 5:09:32 PM #

Thanks for a marvelous posting! I really enjoyed reading it, you might be a great author.I will make certain to bookmark your blog and definitely will come back down the road. I want to encourage you to ultimately continue your great writing, have a nice morning!

Reply

Shenna Homrich
Shenna Homrich United States
3/27/2016 3:04:59 PM #

I would like to thnkx for the efforts you have put in writing this site. I am hoping the same high-grade web site post from you in the upcoming as well. Actually your creative writing skills has inspired me to get my own website now. Really the blogging is spreading its wings quickly. Your write up is a good example of it.

Reply

zabudowy na samochody
zabudowy na samochody United States
4/1/2016 6:34:06 AM #

I've come across that now, more and more people are being attracted to video cameras and the field of images. However, really being a photographer, you need to first expend so much period deciding the model of dslr camera to buy and also moving out of store to store just so you could potentially buy the cheapest camera of the brand you have decided to decide on. But it does not end at this time there. You also have to contemplate whether you should buy a digital photographic camera extended warranty. Many thanks for the good recommendations I accumulated from your web site.

Reply

kemping,sprzedaż przyczep
kemping,sprzedaż przyczep United States
4/2/2016 1:39:08 AM #

I was curious if you ever considered changing the page layout of your blog? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or two images. Maybe you could space it out better?

Reply

Curt Krinov
Curt Krinov United States
4/2/2016 3:26:43 AM #

Thanks for your post. Another point is that just being a photographer will involve not only difficulty in recording award-winning photographs and also hardships in getting the best camera suited to your needs and most especially issues in maintaining the quality of your camera. This is certainly very correct and clear for those photographers that are straight into capturing the particular nature's engaging scenes - the mountains, the forests, the particular wild or seas. Visiting these adventurous places definitely requires a dslr camera that can surpass the wild's harsh environments.

Reply

mobilna lodziarnia
mobilna lodziarnia United States
4/2/2016 10:57:58 AM #

Thanks for your posting. I also feel that laptop computers have gotten more and more popular these days, and now are sometimes the only type of computer utilized in a household. Simply because at the same time actually becoming more and more very affordable, their processing power keeps growing to the point where there're as strong as personal computers coming from just a few years back.

Reply

ciekawe
ciekawe United States
4/2/2016 10:56:29 PM #

I have been browsing online more than 3 hours these days, but I by no means discovered any attention-grabbing article like yours. It is lovely worth enough for me. In my view, if all webmasters and bloggers made excellent content material as you did, the internet can be much more helpful than ever before.

Reply

ciekawe
ciekawe United States
4/3/2016 11:32:02 AM #

you're in point of fact a good webmaster. The web site loading velocity is amazing. It sort of feels that you are doing any unique trick. Furthermore, The contents are masterpiece. you have performed a wonderful job in this topic!

Reply

POŻYCZKI
POŻYCZKI United States
6/23/2016 9:28:37 AM #

Pożyczka pozabankowa Net Credit

Reply

DOMENY
DOMENY United States
6/25/2016 7:47:07 AM #

REJESTRACJA DOMEN

Reply

Michael Cromwell
Michael Cromwell United States
7/18/2016 10:18:34 AM #

It’s really a great and useful piece of information. I am satisfied that you simply shared this helpful information with us. Please keep us informed like this. Thanks for sharing.

Reply

Asanka Peidris
Asanka Peidris United States
7/20/2016 7:43:24 AM #

Wow very thorough article. Thanks

Reply

Nelly Denmark
Nelly Denmark United States
8/25/2016 4:22:05 AM #

Great educational blog. Hopefully you can also discuss some green home designs with great architectural layouts

Reply

gold porn
gold porn United States
5/28/2017 2:20:48 AM #

reality porn

Reply

blogspot
blogspot United States
5/31/2017 11:54:52 AM #

pokemon porn

Reply

blogspot
blogspot United States
6/1/2017 2:05:00 PM #

unexpected porn

Reply

xxx porn videos
xxx porn videos United States
6/3/2017 1:28:57 AM #

virgin teen porn

Reply

Adina Rosazza
Adina Rosazza United States
6/28/2017 11:44:21 PM #

This has been one of the  top  articles i have read. It was  really informative.Looking  ahead for more blogs of this in near  coming future

Reply

Leonardo Speece
Leonardo Speece United States
6/28/2017 11:44:27 PM #

Reagrds,

Reply

Eleonora Bouler
Eleonora Bouler United States
7/6/2017 8:21:49 PM #

It  has actually  been really one of the  top blogs i have  checked out. It  was actually  really informative.Looking  ahead for more blogs of  this particular in near  coming future

Reply

consejos
consejos United States
10/6/2017 7:49:20 PM #

Reply

Hipolito M. Wiseman
Hipolito M. Wiseman United States
12/6/2017 5:35:58 AM #

Reply

Add comment

biuquote
  • Comment
  • Preview
Loading

Rel=Me

Month List

RecentComments

Comment RSS