Set up a button to browse a folder tree as a menu

I'm trying to set up a button that will display a drop-down menu of folders within a specified folder. The sub-folders should be fly-out menus, so I can navigate to any folder under the one assigned to to the button. Clicking on a selected folder should then open that folder.

A second version that would be helpful, but not essential, would be one that would also include files, so I could click on a folder to open the folder, or a file to open the file.

The folder that I want to start from is named "readings" and it's in a folder in my dropbox named IKS2. Here's what I've attempted:

GO "J:\Dropbox\IKS2" FOLDERCONTENT="dirfilter=(readings)"

I've browsed the forum and found similar questions, but haven't been able to decipher them sufficiently to make this work. Any help would be much appreciated.

You were close.

First create a New Menu. Inside that Menu, create a New Button with one of the below codes

I think what you'll want for displaying directories only and starting in J:\Dropbox\IKS2\readings is:

Go J:\Dropbox\IKS2\readings FOLDERCONTENT=nofiles

The same code but without the "=nofiles" will give you the mix of Folders at top and Files on bottom:

Go J:\Dropbox\IKS2\readings FOLDERCONTENT

If you use a folder path that has spaces, then use "" around the path. Example would be:

Go "J:\Dropbox\IKS 2\readings" FOLDERCONTENT=nofiles

You can read more about it under the online help, under the Go section, FOLDERCONTENT argument
gpsoft.com.au/help/opus11/# ... ts/Go1.htm

I hope I understood you correctly :slight_smile:

Perfect! Thanks so much; I'd read through the documentation, but hadn't seen the part that says you have to put the button into a menu. So I kept getting all of the folders spread out as buttons across the toolbar. Both of your solutions worked perfectly! :smiley: