Reputation: 325
In windows explorer, you can open a zip file as if it was a folder. I want to be able to convince Windows Explorer to browse my new file type so people can view (and possibly open) my 'sub-files' within my file type
what is required to do this?
Upvotes: 0
Views: 470
Reputation: 457
As @jonathan-potter mentioned, you'd need a Windows Shell Extension to do this seamlessly. There's a workaround, though. If you, for instance, have the file extension .dmj that you want to browse in Explorer, you can create a File Association between .dmj files and your application. Then, when a .dmj file is opened in your application, you can create a temporary folder with the corresponding files and structure, and then open that folder in Explorer. This is relatively trivial to implement and should give the illusion of the file being browsable with Windows Explorer.
Upvotes: 1