Open containing folder for files or dirs?


#1

Is there a feature in JUCE "Open containing folder" which just opens the OS default file browser for the file path?

Like:


#if JUCE_LINUX || JUCE_MAC || JUCE_WINDOWS
   /* open the path in the OS native file browser */
   void File::openContainingFolder();
#endif

Cheers


#2

Got it - URL can do this :-)

URL( _file.getFullPathName() ).launchInDefaultBrowser();

#3

Have you tried File::revealToUser() ? Or is that not what you mean?


#4

Yes, that's it what I want!

Thanks