home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / newzips.zip / NEWZIPS.DOC < prev    next >
Text File  |  1993-06-21  |  2KB  |  58 lines

  1. This rexx routine helps unpack and organize the
  2. archive files downloaded from your bbs.  It
  3. provides the following functions.
  4.  
  5. 1. It will unpack all zip and lzh type
  6. files from your standard download directory
  7. to a subdirectory of the same name of the 
  8. archive directory.  This subdirectory can be 
  9. predefined or defined at execution time.
  10.  
  11. 2.  The zip and lzh filetypes will be changed
  12. to piz and hzl respectively on the files in the
  13. download directory.  This is so the files will
  14. not be unpacked again the next time you run
  15. the routine.
  16.  
  17. 3.  A PM drives object will be opened for each of
  18. the new subdirectories so that you can read files,
  19. make program reference objects, make sure the
  20. files were unpacked, etc.  
  21.  
  22. 4.  It opens a drives object for your download directory.
  23. This will allow you to examine and  erase files as appropriate.
  24.  
  25. Use -  This will run on 2.1 systems but has not been tried on 2.0.
  26. Please test carefully on your system to ensure that it does not 
  27. cause you problems.
  28.  
  29. This routine can be installed as a program reference object on your desktop
  30. by executing the routine "newinst" and providing the requested parameters.
  31. newinst, newzips.ico, and newzip.cmd should all be in the same subdirectory
  32.  
  33. It can also be executed from the command line with the following styles
  34.  
  35.  
  36.  
  37. Newzips download destdirect  
  38. (This will unarchive all the files from the directory and build subdirectories under destdirect)
  39.  
  40. Newzips . destdirect
  41. (This will unarchive all the files from the current directory (".") and build subdirectories under destdirect)
  42.  
  43. Newzips download
  44. (This will unarchive all the files from the directory download and build subdirectories
  45. under the default subdirectory built into the routine  - Defaults are at beginning of
  46. routine and easy to change)
  47.  
  48. Newzips
  49. (This will use the default download and destination directories built into the routine)
  50.  
  51. This routine assumes the unarchivers are in the program path.  The routine assumes
  52. these routines are "unzip.exe" and "lh32.exe" from the UNZ50X32 and LH2_221 files
  53. on the OS2Share BBS.  These are also easy to find and change.
  54.  
  55.  
  56.  
  57. Comments to Felix Sawicki in the local area of Pete's BBS.
  58.