4

What I need is a directory which the user can handle as a single file in the Windows explorer. Does something like this exist? If not, what comes closest?

tshepang
  • 12,111
  • 21
  • 91
  • 136
S. Franke
  • 41
  • 1

3 Answers3

1

The closest thing is probably Alternate Data Streams, although those are more akin to MacOS Named Forks than Bundles.

There are also some special cases, for example if you save a website with Internet Explorer you get an HTML file and a folder which are linked together.

Jörg W Mittag
  • 363,080
  • 75
  • 446
  • 653
1

Depends on your particular needs. As mentioned above, named streams are possible (on NTFS), however you should notice that not all applications copy files with named streams correctly. In some scenarios regular ZIP archives can work (Explorer shows them as folders). If you are doing software development, there exist libraries that let you store many files in one container file (eg. SolFS).

Eugene Mayevski 'Callback
  • 45,135
  • 8
  • 71
  • 121
0

I think you can create a folder with an extension, e.g. Myfolder.bundle, then you can associate that extension with a custom icon. So it looks like a bundle as far as the end user is concerned.

Jeff McClintock
  • 1,242
  • 10
  • 27