Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Accessories - Cascading Desktop Context Menu

13 Jun 2011   #19
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 
Accessories - Cascading Desktop Context Menu

How to Add a "Accessories" Cascading Desktop Context Menu in Windows 7

...

My System SpecsSystem Spec
11 Feb 2012   #20
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

I'm afraid that I have no idea with XP.

You might post this in the Chillout Room since it's not WIndows 7 related to see if someone may know of a way for XP.

My System SpecsSystem Spec
04 Oct 2012   #21
7user78

win7 x64
 
 
Thank you

Mr. Brink, this is AWESOME!
thank you for sharing with us ! Best regards,

LE: Is there any possibility to modify the cmd.exe command data value in regedit in order to start in default mode as Administrator ? As far as I saw ,merging this .reg file will start the cmd in normal mode (not Admin mode)
thanks


Attached Thumbnails
Accessories - Cascading Desktop Context Menu-capture.jpg  
My System SpecsSystem Spec
20 Jan 2013   #22
DanSitar

Windows 7 v.6.1 Edition Familial Premium on a 64 bit laptop
 
 
Command Prompt "here" as Admin in color.

@7user78, Here is more than you were looking for. This will add the Command Prompt as Admin in the context menu only if you right-click on a folder, not a file. The beauty is that it opens to the directory you've clicked on.

Open Command Window Here as Administrator

More, the DOS window is not in the boring black & white, but in COLOR!!! You have 16 colors to play with. Just type at the prompt: COLOR /?. Here I gave you the Cyan on a Blue-gray background, e.g., /T:3B, Just change the ‘3B’ for your own colors.


Code:
[HKEY_CLASSES_ROOT\Drive\shell\runas]
"@"=" Command Prompt (Admin)"
"HasLUAShield"=""
[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
"@"=Cmd.exe /T:3B /s /k pushd "%V"
 
Same for these 3 other keys:
 
[HKEY_CLASSES_ROOT\Directory\shell\runas]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\runas]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\runas]
Note: A secure icon will show up on the menu showing that it is as Admin. Beside the “/T:3B” in the command line, you can also change the text " Command Prompt (Admin)" for whatever you want to see on the menu. I always add a space in front of the first letter in order to separate the text nicely from the icon.

The ‘antidote’ (as non admin):
Code:
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
"@"=@shell32.dll,-8506
"Extended"=""
"NoWorkingDirectory"=""
 
[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
"@"=cmd.exe /s /k pushd "%V"
 
Same for these 3 other keys:
 
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd\command]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\cmd\command]
Have fun!!
My System SpecsSystem Spec
20 Jan 2013   #23
7user78

win7 x64
 
 

wow , this is awesome
Thank you for your great reply ,
Best wishes !
My System SpecsSystem Spec
.


21 Jan 2013   #24
DanSitar

Windows 7 v.6.1 Edition Familial Premium on a 64 bit laptop
 
 

You're welcome 7user78.

@Brink. You have replied in the post #12 that
Quote:
17 is the limit that can be on a cascading menu.
Do you mean 17 keys under [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell] without counting the Windows.* ones?

BTW, I have a Tutorial to post. Is there a special procedure for that or I just post it? My title will be:
How to create a Desktop Cascade Context Menu of multiple layers, four in my example.

BTW, in which forum shall I ask why the “Pictures & Albums” feature does not show up in my “User Control Panel”?

Thanks
My System SpecsSystem Spec
21 Jan 2013   #25
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Dan,

It's 17 for the total limit in the context menu. There's no limit for how many keys that can be created in the registry.

I suppose post the tutorial in the Chillout Room for now, and let me know when it's posted. This way we can get it all polished up before moving into Tutorials. For something that complicated, it will need to be very detailed so that even noobs could follow.

The “Pictures & Albums” doesn't show up in your User CP yet because you are still a "new" member. Once you are no longer classified as new, it will be there.
My System SpecsSystem Spec
21 Jan 2013   #26
DanSitar

Windows 7 v.6.1 Edition Familial Premium on a 64 bit laptop
 
 

Thanks Brink for your quick response.

1. I am stuck at 15 elements in my context menu. As soon as I add another one, the last one doesn't show up.

2. My tutorial is very comprehensible for newbies. Understandable simple steps with explanations, tips and many photos. I am pretty sure it is at the level of the high standards of your forums. The maximum size of the photos in our posts is 620×280 px. Can they be bigger for tutorials?

3. Concerning the “Pictures & Albums”, I suggest that your explanation be part of the FAQ because I spent quite some time trying to figure out why, including the options of my IE7 and Windows XP that I am using for now (connection problem on my LP Windows 7).

See you soon in the “Chillout Room.”
My System SpecsSystem Spec
21 Jan 2013   #27
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

1) Yep, it includes all item in the expanding context menu from the first item to the expanding items.

2) Sounds good. As long as the image doesn't go over the upload limit, whatever size it is will be fine.
Screenshots and Files - Upload and Post in Seven Forums
My System SpecsSystem Spec
29 Oct 2013   #28
Hardwaredevil

windows 7 ultimate x64
 
 

hi great man its works thanks next
My System SpecsSystem Spec
20 Feb 2014   #29
DanSitar

Windows 7 v.6.1 Edition Familial Premium on a 64 bit laptop
 
 

Greetings forums' readers & helpers, ٩̢ ̗(Ӧ̮Ӧ)ֹ̢ ̗۶

I forgot to mention here that I posted my tutorial on 27 Jan 2013, thanks to Brink for the final touch. He also approved the editing in the registry.


I literally coach you to build your own menu.

Have creative fun ‼


Attached Images
 
My System SpecsSystem Spec
Comment

 Accessories - Cascading Desktop Context Menu




Tutorial Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 12:54 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33