Skip to content

Browsing files and folders

Baz Cuda edited this page Jan 16, 2023 · 6 revisions

You can create menu items which will create dynamic submenus listing the contents of folders.

Clicking on a folder will open that folder in Windows Explorer, or whichever file explorer software you use - in my case, Directory Opus.

Clicking on a file listed in a submenu will launch that file, just as if you had done so in your file explorer.

CustomMenu will automatically assign the appropriate icon to every folder and file that appears in a submenu.

If you choose to browse into subfolders within your designated folder, CustomMenu will create a submenu for every folder.

The key to this functionality is to set the Command edit box to the keyword "browse" and the Directory edit box to the path of the folder to be browsed. The Parameters edit box will contain a file filter, e.g. *.* or *.zip and the optional parameter "+folders".

browsesettings

If you wish to temporarily turn off browsing into subfolders, +folders can be changed to -folders.

If the Parameters edit box is empty, CustomMenu will default to "*.* -folders".

You can, if you wish, only show folders (and subfolders) in the submenus. In this case you would specify "+folders -files".

You can omit certain files by their extension: e.g. "*.* -*.ini"

You can list multiple file extension filters: e.g. "*.avi *.pdf *.zip *.rar"

To setup a quick way to browse any USB drives you might mount, do the following: browseusbdrives

Create a submenu for each of the most common drive letters that Windows uses for your drives:

usbdrives

Running the mouse over each drive submenu will quickly show which drive letters are currently in use:

usbdrives2

If you want a menu item which will simply open your file explorer in a particular folder (e.g. your downloads folder), use the following example:

browsefolder

CustomMenu Wiki Home Wiki Home

Overview (screenshots) Overview

Getting Started Getting Started

Submenus for files and folders Browsing files and folders

Clone this wiki locally