Opening a ZIP/Archive folder using the FolderBrowserDialog method

Hello !

I am currently working on a project that requires file and folder management.
I use the FolderBrowserDialog method which works fine, only I get stuck when I want to select an archived or zipped folder with the file explorer window generated by the FolderBrowserDialog method.

There is no filter or extension related to zipped or archived folders that can be added so that they are visible by the file explorer (or I haven’t found one), does anyone know a way to be able to select these types of folders without changing the method?

Thank you very much!
Lyawii

These are actually handled as a special hack by the operating system explorer / finder / whatever.

The operating system is opening and unpacking the zipfile (usually somewhere temporary) enough to see the folders inside, then it presents them as part of its browsing experience, which is above and beyond browsing the basic filesystem.

There may be something on the asset store to help you do this but it’s not a trivial operation.

1 Like