home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / EXTRAS / UUCODE / UUPC / TEST / UPC12ES4.ZIP / SCRIPTS / install.bat < prev    next >
Encoding:
DOS Batch File  |  1993-05-09  |  1.8 KB  |  45 lines

  1. @echo off
  2. echo off
  3. REM *------------------------------------------------------------------*
  4. REM *   Program:        install.bat             9 May 1993             *
  5. REM *   Author:         Drew Derbyshire                                *
  6. REM *   Address:        P.O. Box 132                                   *
  7. REM *                   Arlington, MA 02174                            *
  8. REM *   Function:       Install UUPC/extended files into               *
  9. REM *                   reasonable default directories.                *
  10. REM *------------------------------------------------------------------*
  11. REM *   Note.  You may need to edit the PKZIP commands below           *
  12. REM *   if using another program to unpack the archives.               *
  13. REM *------------------------------------------------------------------*
  14.  
  15. if "%2" == "" goto usage
  16. echo %0 will install UUPC/extended %1 for DOS into directory %2
  17. echo Press ENTER to continue, Ctrl-C to abort.
  18. pause
  19. echo Off we go ...
  20.  
  21. echo Building directories under %2
  22. if not exist %2\systems mkdir %2
  23. if not exist %2\bin\uucico.exe mkdir %2\bin
  24. mkdir %2\public
  25. mkdir %2\samples
  26. mkdir %2\docs
  27. echo Unpacking executable files ...
  28. pkunzip uupc%1r %2\bin *.*
  29. pkunzip uupc%1o %2\bin *.*
  30. pkunzip uupc%1n %2\bin *.*
  31. pkunzip uupc%1d %2\docs\*.prn
  32. echo unpacking documents
  33. if exist %1\permissn goto done
  34. echo unpacking Sample files
  35. pkunzip uupc%1d %2\samples\systems
  36. pkunzip uupc%1d %2\samples\uupc.rc
  37. pkunzip uupc%1d %2\samples\personal.rc
  38. pkunzip uupc%1d %2\samples\personal.sig
  39. pkunzip uupc%1d %2\samples\hostpath
  40. pkunzip uupc%1d %2\samples\permissn
  41. pkunzip uupc%1d %2\samples\*.mdm
  42. echo All done.  Now, copy the files from the %2\samples directory to
  43. echo %2 customize as needed.
  44. if "%UUPCSYSRC%" == "" echo  You also need update AUTOEXEC.BAT.
  45.