Re: making unzip.exe a command
From: Bill Gunshannon (bill_at_cs.uofs.edu)
Date: 08/11/05
- Next message: Wheeler, Scott: "Am I Running OpenSSL?"
- Previous message: AEF: "Re: Help Needed: Tape Backup Save Set"
- In reply to: briggs_at_encompasserve.org: "Re: making unzip.exe a command"
- Next in thread: Doc.: "Re: making unzip.exe a command"
- Reply: Doc.: "Re: making unzip.exe a command"
- Reply: briggs_at_encompasserve.org: "Re: making unzip.exe a command"
- Reply: Dave Froble: "Re: making unzip.exe a command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 11 Aug 2005 18:33:53 GMT
In article <nSj0uxuNQv1C@eisner.encompasserve.org>,
briggs@encompasserve.org writes:
> In article <3m1ioiF14r5cmU1@individual.net>, bill@cs.uofs.edu (Bill Gunshannon) writes:
>> Sorry to bother people here with something that is probably real
>> simple, but I don't seem to be able to make UNZIP work.
>>
>> I ftped the binary. When I type "run unzip.exe" it works so I
>> know the image is not corrupt.
>>
>> The HP Webpage then says to enter:
>> $ UNZIP :== $disk:[dir]UNZIP.EXE
>>
>> I did. It doesn't work.
>
> When you say that it doesn't work, what do you mean? What did you
> do and what happened when you did it?
>
> Cut and paste from the session where you did it would be nice.
>
OK, here goes. But I really figured it was just something stupid
I missed and someone here would immediately point it out. :-)
Here is what the webpage where I got the binary said to do:
---------------------------
To use UNZIP, copy the appropriate image and the .ZIP file (be sure to use binary transfer mode if you are using FTP directly), then type the following commands:
$ UNZIP :== $disk:[dir]UNZIP.EXE
$ UNZIP application.ZIP
-----------------------
Here is exactly what I did.
--------------------
$ dir [utilities]
Directory SYS$SYSROOT:[UTILITIES]
SAMBA-2_0_3-VMS0-BIN_VAX.ZIP;1 UNZIP.EXE;1
Total of 2 files.
$ unzip :== SYS$SYSROOT:[UTILITIES]UNZIP.EXE
$ unzip
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\SYS$SYSROOT\
--------------------
And here is my proof that the image was not corrupted moving it
onto the VAX.
---------------------------
$ run sys$sysroot:[utilities]unzip
UnZip 5.50 of 17 February 2002, by Info-ZIP. For more details see: unzip -v.
Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
Default action is to extract files in list, except those in xlist, to exdir;
file[.zip] may be a wildcard. "-Z" => ZipInfo mode (`unzip "-Z"' for usage).
=> define foreign command symbol in LOGIN.COM: $ unzip :== $dev:[dir]unzip.exe
-p extract files to pipe, no messages -l list files (short format)
-f freshen existing files, create none -t test compressed archive data
-u update files, create if necessary -z display archive comment
-x exclude files that follow (in xlist) -d extract files into exdir
modifiers: -q quiet mode (-qq => quieter)
-n never overwrite existing files -a auto-convert any text files
-o overwrite files WITHOUT prompting -aa treat ALL files as text
-j junk paths (do not make directories) -v be verbose/print version info
"-C" match filenames case-insensitively "-L" make (some) names lowercase
"-X" restore owner/protection info "-V" retain VMS version numbers
"-M" pipe through "more" pager
Examples (see unzip.txt for more info):
unzip data1 -x joe => extract all files except joe from zipfile data1.zip
unzip "-V" foo "Bar" => must quote uppercase options and filenames in VMS
unzip -fo foo vms.c => quietly replace existing vms.c if archive file newer
$
-------------------------------
bill
-- Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves bill@cs.scranton.edu | and a sheep voting on what's for dinner. University of Scranton | Scranton, Pennsylvania | #include <std.disclaimer.h>
- Next message: Wheeler, Scott: "Am I Running OpenSSL?"
- Previous message: AEF: "Re: Help Needed: Tape Backup Save Set"
- In reply to: briggs_at_encompasserve.org: "Re: making unzip.exe a command"
- Next in thread: Doc.: "Re: making unzip.exe a command"
- Reply: Doc.: "Re: making unzip.exe a command"
- Reply: briggs_at_encompasserve.org: "Re: making unzip.exe a command"
- Reply: Dave Froble: "Re: making unzip.exe a command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|