[OT] zip etiquette (was: dmdz)

Bill Baxter wbaxter at gmail.com
Fri Mar 12 04:57:51 PST 2010


On Thu, Mar 11, 2010 at 9:09 PM, Nick Sabalausky <a at a.a> wrote:

> What I really want is an archive program that automatically makes a
> subfolder by default *but* detects if the top level inside the archive
> contains nothing more than a single folder and intelligently *not* create a
> new folder in that case. But I've yet to see one that does that, and I
> haven't had time to make one.

WinRAR has an option for that if the zip file and the single folder
inside are named the same thing.
So if Foo.zip contains just a top level folder called Foo, then it
just extracts Foo.  Otherwise it makes a "Foo" folder and puts the
contents of Foo.zip into that.

--bb



More information about the Digitalmars-d mailing list