This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how do I open all tabs in a bookmarks FOLDER from a shortcut

I have a series of folders in my bookmarks - containing related urls (and sub-folders).

I can easily create a shortcut on my desktop to a specific url.

How do I create a shortcut to a FOLDER of urls in my bookmarks list and have all urls in that folder open in a new session?

I have a series of folders in my bookmarks - containing related urls (and sub-folders). I can easily create a shortcut on my desktop to a specific url. How do I create a shortcut to a FOLDER of urls in my bookmarks list and have all urls in that folder open in a new session?

All Replies (6)

Sorry, you can't access Firefox Bookmarks folders via a desktop shortcut.

Create the desktop shortcut with the URL's that you want to open using Command Line Options for Firefox. https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-url_URL Note: When opening multiple URLs, Firefox always opens them as tabs in a new window.

Thanks for responding but nothing, from that url you gave, worked. I tried too many variations to list them here, so I wont.

Could you perhaps give me an example of the line to be entered in a shortcut that results in firefox being opened with, say, just two urls in two tabs.

Or do I need a .bat file or a cmd.exe line or something else?

I'm using Windows 10 - if that has any relevence.

Browser -url URL

Example 2

This goes in the Target line of a new desktop shortcut for firefox.exe.

firefox www.mozilla.com developer.mozilla.org

firefox - sets the executable to open space www.mozilla.com - first tab URL space developer.mozilla.org - 2nd tab URL

I don't know if there is a max limit on the number of URL's / tabs that can be opened from Command Line, but I just tested it with 10 URL's.

Yes, I suppose a .bat file could be used, but isn't really necessary. Firefox Command Line parameters can handle it a lot easier with less "coding".

As you probably know, Firefox has an interactive feature to "Open All in Tabs" for a bookmarks folder. But that is only for bookmarks in that folder; it does not reach into subfolders.

Even give that limitation, I can't think of any built-in feature to automatically open the bookmarks in new tabs, without clicking the command on the menu.

You may want to look into bookmark-related add-ons to see whether there is one that can help with any of this.

I thank you for your efforts but I cannot mark this as "solved" since it isn't.

I will try and solve it. Maybe it is an add-on. I've not seen one.

I am going to have to use some user-unfriendly stuff, which I was trying to avoid. It will work for some but not the whole community. Too much mucking about needed - but possible and you only have to muck about once or - more accurately - once each time you change a bookmark folder's structure. Yes, it will work for subfolders also.

Is there somewhere that I should post my solution - if I get one?

Again, I thank you. I do appreciate the time that you have taken.

firefoxmal said

Is there somewhere that I should post my solution - if I get one?

This thread would be a good place to start. Otherwise, it would depend on the nature of the solution.