home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pitt.edu!djbpitt
- From: djbpitt+@pitt.edu (David J Birnbaum)
- Newsgroups: comp.os.os2.misc
- Subject: Re: I guess there is no way to start zip/zoo from Icon
- Message-ID: <9679@blue.cis.pitt.edu.UUCP>
- Date: 15 Nov 92 17:18:38 GMT
- References: <BxrKIM.LJ4@ccu.umanitoba.ca>
- Sender: news+@pitt.edu
- Organization: University of Pittsburgh
- Lines: 45
-
- >As these programs require command line parameters and opitons. I was
- >trying to import these onto my desk top to cut short the Path and DPath
- >variables. Is there any PM interface available for any of the archivers?
-
- Parameters are no problem, but multiple filenames may be.
-
- 1) Create a program reference object that points to unzip.exe. Create
- another one that does the same, but that specifies '-l' as a parameter.
- Call one 'unzip' and one 'ziplist' (or whatever). Set the associations
- for both to point to *.zip files; the one you set first will become the
- default for all zip files. You can either drop *.zip file objects on
- these to unzip or list them, or you can open a view of the zip file
- objects (the default will be whichever association you established
- first, with the others available by menu). You can do the same with zoo,
- of course (-extract and -list, respectively).
-
- 2) I am told that a program reference object can be made to prompt for
- input in two ways:
-
- a. If you put a question mark in the parameters line, it will prompt for
- parameters.
-
- b. If you put a specific prompt text inside square brackets on the
- parameters line (you can have more than one), it will prompt for
- specific parameters.
-
- I haven't tried either of these.
-
- 3) I have been told that program reference objects don't understand
- having multiple things dropped on them, so you can't do the same for
- _creating_ zip files. I haven't tried this either, or given much
- thought to a workaround. I find I list and unpack zip and zoo files more
- often than I create them, but it would be handy to be able to have an
- object-oriented alternative to anything that can be done on the command
- line.
-
- Cheers,
-
- David
-
- --
- Professor David J. Birnbaum djbpitt+@pitt.edu [Internet]
- The Royal York Apartments, #802 djbpitt@pittvms [Bitnet]
- 3955 Bigelow Boulevard voice: 1-412-687-4653
- Pittsburgh, PA 15123 USA fax: 1-412-624-9714
-