How to open directory with native file manager?

I am building a desktop app for Windows and MacOS. When a button is clicked I want to open a directory with the native file manager (I think it’s called file explorer on Windows and finder on mac). Is this possible?

1 Like

You could probably use url_launcher and launch an intent with file://path/to/directory. :thinking:

you can also try ‘Process.run’ to open directory.
For Example: -
Process.run(‘explorer’, [path]);