home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / wp / gcatwp30.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1993-06-28  |  3KB  |  93 lines

  1. @REM SETUP.BAT :Graphcat 3.0          
  2. @REM Copyright 1993 Jerry Stern--All Rights Reserved, 6/93
  3. @echo off
  4. cls
  5. if not exist graphct3.doc goto baddir
  6. if not exist horse11.wpg goto baddir
  7. if not exist fileindx.hdb goto baddir
  8. if "%1"=="" goto info
  9. if "%2"=="" goto default
  10. set loc=%2
  11. goto nextstep
  12. :default
  13. set loc=c:\graphcat
  14. :nextstep
  15. if not exist %1\*.* goto nomac
  16. if not exist %loc%\*.* goto new
  17. ECHO UPGRADE Installation to version 3.0
  18. goto more
  19. :new
  20. ECHO NEW Installation of version 3.0
  21. :more
  22. ECHO GRAPHCAT is copyrighted software marketed as SHAREWARE. You may share the 
  23. ECHO complete and unaltered evaluation version with your friends. You may try
  24. ECHO the package at no charge for 30 days, but if you use if after that period,
  25. ECHO you must register it. Registered users receive an enhanced version of the
  26. ECHO main macro, including an options configuration file, and a megabyte of 
  27. ECHO clip art! Registration information is in REGISTER.DOC and PRODUCTS.DOC.
  28. ECHO ...
  29. ECHO Files for GRAPHCAT 3.0 for WP51/DOS will now be copied:
  30. ECHO Macros will be copied to %1
  31. ECHO The forms, graphics, and instructions will be copied
  32. ECHO to the directory %loc%. 
  33. ECHO You will need about 300K of free space.
  34. ECHO ...
  35. ECHO Press any key to proceed with installation, or Control-C to stop now.
  36. pause > nul
  37. copy graphcat.wm5 %1\graphcat.wpm
  38. copy indx4dos.wm5 %1\indx4dos.wpm
  39. copy index5.wm5 %1\index5.wpm
  40. copy index.wm5 %1\index.wpm
  41. if not exist %loc%\*.* goto newset
  42. copy *.wpg  %loc%\*.*
  43. copy *.doc  %loc%\*.*
  44. copy printdoc.bat %loc%\*.*
  45. copy readme.1st %loc%\*.*
  46. goto done
  47. :newset
  48. md %loc%
  49. copy *.wpg  %loc%\*.*
  50. copy *.doc  %loc%\*.*
  51. copy printdoc.bat %loc%\*.*
  52. copy readme.1st %loc%\*.*
  53. :done
  54. ECHO Done...
  55. ECHO If you haven't already,
  56. ECHO run PRINTDOC.BAT for instructions on printing the manual.
  57. ECHO If you will also run WP6.0, install the 6.0 macros and forms
  58. ECHO by running the INSTALL macro from inside WordPerfect 6.0.
  59. goto end
  60. :nomac
  61. ECHO Graphcat/DOS 3.0 Installation for WP 5.1
  62. ECHO The directory that you have chosen to copy the macros to is empty
  63. ECHO or doesn't exist. Please check the name, and try again.
  64. goto end
  65. :baddir
  66. ECHO Graphcat/DOS 3.0 Installation for WP 5.1
  67. ECHO You must start this installation by logging to the drive and directory
  68. ECHO where the files are currently located. When you run SETUP from that
  69. ECHO directory, it will help you find the correct startup command to
  70. ECHO install your software.
  71. goto end
  72. :info
  73. ECHO Graphcat/DOS 3.0 Installation for WP 5.1
  74. ECHO Start SETUP.BAT with the name of the macro directory used by WordPerfect,
  75. ECHO usually c:\wp51\macros or c:\wp51, and (OPTIONAL) the new directory name
  76. ECHO to make for storing Graphcat's clip art and instructions files.
  77. ECHO ...
  78. ECHO If you don't choose a directory for forms and graphics, `c:\graphcat' 
  79. ECHO will be created and used.
  80. ECHO ...
  81. ECHO If you don't know where WP51 keeps your macros, press Setup (Shift-F1),
  82. ECHO (6) Location Of Files, and write down the entry under "Macros/Keyboards"
  83. ECHO and enter it from the DOS prompt. (Press Cancel (F1) to return to
  84. ECHO the document screen.)
  85. ECHO ...
  86. ECHO For example: 
  87. ECHO SETUP c:\wp51\macros
  88. ECHO (Copies package to c:\graphcat, using c:\wp51\macros for macros.)
  89. ECHO SETUP d:\wp51 d:\wp\utility
  90. ECHO (Copies package to d:\wp\utility, using d:\wp51 for macros.)
  91. :end
  92. PAUSE
  93.