home *** CD-ROM | disk | FTP | other *** search
/ IBM Presents OS/2 Software Hits 1995 / OS-2_SW_HITS_2ND_EDITION_1995.ISO / i17 / ur423841.dsk / BOOKS.CMD next >
OS/2 REXX Batch file  |  1993-03-16  |  598b  |  23 lines

  1. @echo off
  2. if "%1"=="" goto useage
  3.  
  4. A:\PKUNZIP.EXE  A:\CSDB.DFI  -o -n -d  %1  > nul  2>&1
  5. if errorlevel 1 goto Error
  6. Echo Decompression finished
  7. Echo Book files are now available on %1
  8. goto done
  9.  
  10. :Error
  11. Echo  An error was detected during decompression of A:\CSDB.DFI
  12. Echo  Verify %1 is on a valid disk drive and is a valid path
  13. Echo  Also check that CSDB.DFI exists on drive A:
  14. goto done
  15.  
  16. :useage
  17. Echo USEAGE: BOOKS dirname
  18. Echo         dirname is the name of a directory to put the bookmaster files
  19. Echo         you may also use the BOOKMGR environment variable
  20.  
  21. :done
  22.  
  23.