home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0020 - 0029 / ibm0020-0029 / ibm0028.tar / ibm0028 / CSCAP323.ZIP / SINSTALL.BAT < prev   
Encoding:
DOS Batch File  |  1990-12-31  |  1.9 KB  |  70 lines

  1. @echo off
  2. rem sinstall.bat
  3. rem C-scape library source installation batch file - By Ted 11/01/90
  4. rem 
  5. rem C-scape 3.2
  6. rem Copyright (c) 1986-1989, by Oakland Group, Inc.
  7. rem ALL RIGHTS RESERVED.
  8. rem 
  9. rem Revision History:
  10. rem -----------------
  11. rem 12/17/90 mla    added code for 3.5" disks
  12. rem 12/31/90 jmd    added -o flag to self-extractors
  13. rem 
  14.  
  15. if %1x==x goto banner
  16. goto start1
  17. :banner
  18.  
  19. echo .
  20. echo . INSTALLATION BATCH FILE FOR CSCAPE 3.2 SOURCE - INSTRUCTIONS:
  21. echo .
  22. echo . 1) Change to the drive and directory with the C-scape source diskette.
  23. echo .      (Normally drive A: with the C-scape source disk in it.)
  24. echo .
  25. echo . 2) Enter the SINSTALL command with the drive and directory where you want
  26. echo .    the C-scape source to go. (Normally C:\cscape\source)
  27. echo .
  28. echo . USAGE EXAMPLE:
  29. echo .
  30. echo . To install C-scape source files on Drive C: in directory \CSCAPE\SOURCE:
  31. echo .   SINSTALL C:\CSCAPE\SOURCE
  32. echo .
  33.  
  34. goto end
  35.  
  36. :start1
  37.  
  38. echo :
  39. echo . About to install C-scape source files           in  %1
  40. echo . About to install library rebuilding batch files in  %1
  41. pause
  42.  
  43. rem Execute the self-unzipping C-scape files w/ output to the destination drive.
  44. rem use overwrite flag (-o) to prevent complaint about field function source
  45. cssrc        -o -d %1
  46. owlsrc       -o -d %1
  47.  
  48. goto ckcomp
  49. :getcomp
  50. echo :
  51. echo . Remove disk1 and insert disk2 to install the compile batch files.
  52. pause
  53.  
  54. rem NOTE: the following library installation works for either the 1-disk
  55. rem       set of 5 1/4" disks or the 2-disk set of 3 1/2" disks.  It depends
  56. rem       on the fact that compile.exe is not on the first disk of the 2-disk
  57. rem       set.
  58.  
  59. :ckcomp
  60. if NOT EXIST compile.exe goto getcomp
  61. compile      -d %1
  62.  
  63. echo :
  64. echo . Installed C-scape source files                in  %1
  65. echo . Installed library rebuilding batch files      in  %1
  66. echo :
  67.  
  68. :end
  69.  
  70.