home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / misc / 36560 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  2.3 KB

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