Re: forgetting my DCL: what am I missing?



In article <43E94AE4.C95E1F7@xxxxxxxxxxx>, David J Dachtera
<djesys.nospam@xxxxxxxxxxx> writes:

So with unzip test.zip testa.txt -dsomedir one has the unix-style syntax
but it does not work. The undocumented unzip -dsomedir test.zip
test1.txt will work, though.

I would never have thought to call that "undocumented", as it is
consistent with the stated "unzip [-Z] [-opts[modifiers]] file[.zip]
[list] " syntax. Freeware unzip and PKunzip for DOS exhibit similar
(though not identical) behavior in this regard.

The point is that the example has -ddirectory as the last argument, not
the first. No hint that it will work if it is the first argument.

I always use the CLI (DCL) syntax myself since it makes more sense to me
and the qualifiers are easier to remember (though "/JUNK" is a bit
bizarre, IMO).

Same here. Think of JUNK as a verb, not a noun. :-)

.