• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Cascading list of folders in right click context menu in Windows 7

By Abhishek Ghosh May 20, 2011 6:39 pm Updated on June 25, 2020

Cascading list of folders in right click context menu in Windows 7

Advertisement

Our regular reader Roberto has asked in the previous tutorial :

Hello, I love your site, follow daily
I wonder if it is possible to Cascading list of folders in right click context menu in Windows 7 ?
Thanks
(Used google translator, Pt to En)

Firstly, many many thanks to Roberto for being a regular reader of TheCustomizeWindows and leaving a nice idea.

Update on June 2020 : This guide contains outdated references of colored texts. However, the downloads will work as intended.

As we said in that post, yes it is possible to add a cascading list of folders in the right click context menu. The process is, however has more similarity with the tutorial Cascading list of websites in right click context menu.

Advertisement

---

Under stand the following things:

  • All the names in right click menu can be changed
  • You can add as many as folder location you want
  • You can change the icon of them as well
  • You may create one menu named Favorites, one Works and so on
  • The first run will take few milliseconds; from the second run it will be fraction of milliseconds as the prefetch cache will be primed
  • It works on Windows 7 Desktop, inside the folders (Explorer) also
  • There is no reason to think it will consume huge RAM, unless if you use huge sized icons

 

As usually, we need two things: a batch file to carry the job, that is to open the folders, a nice icon in *.ico format of 16 x 16 pixels size for each or link to other executable to share the icon (recommended) and a registry file to add it to right click menu.

First, as the things are quite complex and we want to keep a way to remove or add more folders to the list; we will create a folder named MyFolders (you can use any name, but have to change in the registry in next step) on your desktop.

We are giving the example of the above screenshot like menu:
Cascading list of folders in right click context menu in Windows 7

Make a list which folders you want too add; otherwise you might mess it up.

Creating the batch files to open the desired folders

One batch file for each folder location. We have added 5 system determined user folder locations and one custom folder location named TheCustomizeWindows which is in another partition.

Open Notepad. Write the following things for opening system folders:

 

%SystemRoot%explorer.exe “C:Users%username%Documents”

 

For folders those are in different partition, you can use the full path:

 

%SystemRoot%explorer.exe “E:The Customize Windows”

 

Save the file as Documents.bat for the first example above and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Obviously, you will save My office folder’s batch file with the name My office folder.bat.

You can name as you like; but if you call a rose a mouse; you may later get confused whether mouse smells nice or the rose. That is the significance of naming properly. Test the batch file by double clicking it. It should open the folder. Now create all the batch files in this way.

Place these all batch files in that MyFolders and place it in C: drive. You can place anywhere, but you need to change that in registry file too.

 

Note: You can use “%UserProfile%Documents” instead of the absolute path œC:Users%username%Documents. The main advantage is, you do not have to think in which partition your Windows 7 is installed.

Thanks for the input from PC2012 from deviantArt.

 

Creating the registry file

 

This will add the functionality to get working from right click context menu. Open Notepad, copy paste the following and modify as per your need:

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryBackgroundshellMyFolders]
“Icon”=”C:Windowsexplorer.exe”
“MUIVerb”=”MyFolders”
“SubCommands”=”Desktop;Documents;Pictures;Videos;Music;TheCustomizeWindows”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellDesktop]
@=”Desktop”
“Icon”=”C:WindowsSystem32Narrator.exe”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellDesktopcommand]
@=”C:MyFoldersDesktop.bat”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellDocuments]
@=”Documents”
“Icon”=”C:WindowsSystem32wlrmdr.exe”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellDocumentscommand]
@=”C:MyFoldersDocuments.bat”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellPictures]
@=”Pictures”
“Icon”=”C:WindowsSystem32PhotoScreensaver.scr”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellPicturescommand]
@=”C:MyFoldersPictures.bat”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellVideos]
@=”Videos”
“Icon”=”C:Program FilesWindows Media Playerwmpnscfg.exe”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellVideoscommand]
@=”C:MyFoldersVideos.bat”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellMusic]
@=”Music”
“Icon”=”C:Program FilesWindows Media Playerwmplayer.exe”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellMusiccommand]
@=”C:MyFoldersMusic.bat”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellTheCustomizeWindows]
@=”TheCustomizeWindows”
“Icon”=”C:MyFoldersfavicon.ico”

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellTheCustomizeWindowscommand]
@=”C:MyFoldersTheCustomizeWindows.bat“

 

The red text is what you want to see as main menu; you can name as Work Folder for example.

Next the cyan text represents the path of icon of another program. Do not get confused. You can use the location like we have used for TheCustomizeWindows folder; please notice the last cyan colored text.

The greenish text is what you want to see in the list. Names must match.

 

Save the file as Add Folders.reg and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Name does not matter here at all. You can save as you like.

Now, double click the reg file and accept the security warnings and you will see the option in right click context menu when clicked on a folder or any empty place inside folder or Windows 7 desktop.

 

You will get it as you want.

 

Updating or adding more entry:

 

  1. Create a new batch file for that folder
  2. Create a icon for that folder or find it in your Windows subfolder; system32 has lot of such programs.
  3. Put it to C:MyFolders
  4. Open the  Add Folders.reg and right click it and open in Notepad; add the name of the folder separated by semicolon within the quotation mark; here after …;TheCustomizeWindows” ; if you add My Works, it would be: “SubCommands”=”…TheCustomizeWindows;My Works“
  5. Copy last two sets of HKEYs and paste it at the end. You will copy and modify this:
  6. 
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellTheCustomizeWindows]
    @=”TheCustomizeWindows”
    “Icon”=” C:MyFoldersfavicon.ico ”
    
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellTheCustomizeWindowscommand]
    @=”C:MyFoldersTheCustomizeWindows.bat”
    
    
  7. Modify its name, location, icon etc and save the registry file; double click to run it. It will be added.

 

Removal:

Add a minus sign before the H starts after the third bracket; like [-HKEY_CLASSES…. to all where there is HKEY and save it (with some good name) as reg file and run it. It will break the association; so the option will disappear from right click context menu.

Obviously, you might delete the bat files manually too.

 

Downloads:

As usually all the required files are here for your download.

The rar file is password protected, type thecustomizewindows.com as the password.

Tagged With add folder and locations to cascading context menu optioon , how to add a cascading folder to right click menu , list subfolders right click , windows 7 cascading folders custom taskbar hkey

This Article Has Been Shared 139 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Cascading list of folders in right click context menu in Windows 7

  • Cascading list of websites in right click context menu in Windows 7

    After reading this tutorial, you will be able to add a right click custom named menu and cascading list of submenu of websites of your choice with icons of your choice in Windows 7.

  • Eject CD DVD from right click context menu in Windows 7

    Eject CD DVD CD DVD or blue ray disk from right click context menu or just by a shortcut in Windows 7. No software installation is required.

  • Guide to Create a 3rd Party Theme

    How to create excellent looking third party theme also known as “Visual Style”

  • Cascading list of programs in right click context menu in Windows 7

    After reading this tutorial, you will be able to add a right click custom named menu and cascading list of submenu of third party or default programs with icons of your choice in Windows 7.

  • A basic guide on Windows 7 Desktop

    Learn the basic how to operate and work on Windows 7 PC. Windows 7 guide for the dummies.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. Avatargx says

    February 25, 2012 at 12:32 pm

    Thanks really nice but sorry for the trouble but when i try the .bat files the command promote opens and closes quickly with nothing happening and i think its supposed to open the folder right?

  2. AbhishekAbhishek says

    February 25, 2012 at 8:45 pm

    If the command and path, both are right (or matches) for your computer when logged in with proper administrative/user privileges (if applicable), it will open so.

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Exploring the Benefits and Advantages of Microsoft’s Operating System March 22, 2023
  • Web Design Cookbook: Accessibility March 21, 2023
  • Online Dating: How to Find Your Match March 20, 2023
  • Web Design Cookbook: Logo March 19, 2023
  • How Starlink Internet Works March 17, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Cascading list of folders in right click context menu in Windows 7," in The Customize Windows, May 20, 2011, March 22, 2023, https://thecustomizewindows.com/2011/05/cascading-list-of-folders-in-right-click-context-menu-in-windows-7/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT