@REM SETUP.BAT :Graphcat 3.0 @REM Copyright 1993 Jerry Stern--All Rights Reserved, 6/93 @echo off cls if not exist graphct3.doc goto baddir if not exist horse11.wpg goto baddir if not exist fileindx.hdb goto baddir if "%1"=="" goto info if "%2"=="" goto default set loc=%2 goto nextstep :default set loc=c:\graphcat :nextstep if not exist %1\*.* goto nomac if not exist %loc%\*.* goto new ECHO UPGRADE Installation to version 3.0 goto more :new ECHO NEW Installation of version 3.0 :more ECHO GRAPHCAT is copyrighted software marketed as SHAREWARE. You may share the ECHO complete and unaltered evaluation version with your friends. You may try ECHO the package at no charge for 30 days, but if you use if after that period, ECHO you must register it. Registered users receive an enhanced version of the ECHO main macro, including an options configuration file, and a megabyte of ECHO clip art! Registration information is in REGISTER.DOC and PRODUCTS.DOC. ECHO ... ECHO Files for GRAPHCAT 3.0 for WP51/DOS will now be copied: ECHO Macros will be copied to %1 ECHO The forms, graphics, and instructions will be copied ECHO to the directory %loc%. ECHO You will need about 300K of free space. ECHO ... ECHO Press any key to proceed with installation, or Control-C to stop now. pause > nul copy graphcat.wm5 %1\graphcat.wpm copy indx4dos.wm5 %1\indx4dos.wpm copy index5.wm5 %1\index5.wpm copy index.wm5 %1\index.wpm if not exist %loc%\*.* goto newset copy *.wpg %loc%\*.* copy *.doc %loc%\*.* copy printdoc.bat %loc%\*.* copy readme.1st %loc%\*.* goto done :newset md %loc% copy *.wpg %loc%\*.* copy *.doc %loc%\*.* copy printdoc.bat %loc%\*.* copy readme.1st %loc%\*.* :done ECHO Done... ECHO If you haven't already, ECHO run PRINTDOC.BAT for instructions on printing the manual. ECHO If you will also run WP6.0, install the 6.0 macros and forms ECHO by running the INSTALL macro from inside WordPerfect 6.0. goto end :nomac ECHO Graphcat/DOS 3.0 Installation for WP 5.1 ECHO The directory that you have chosen to copy the macros to is empty ECHO or doesn't exist. Please check the name, and try again. goto end :baddir ECHO Graphcat/DOS 3.0 Installation for WP 5.1 ECHO You must start this installation by logging to the drive and directory ECHO where the files are currently located. When you run SETUP from that ECHO directory, it will help you find the correct startup command to ECHO install your software. goto end :info ECHO Graphcat/DOS 3.0 Installation for WP 5.1 ECHO Start SETUP.BAT with the name of the macro directory used by WordPerfect, ECHO usually c:\wp51\macros or c:\wp51, and (OPTIONAL) the new directory name ECHO to make for storing Graphcat's clip art and instructions files. ECHO ... ECHO If you don't choose a directory for forms and graphics, `c:\graphcat' ECHO will be created and used. ECHO ... ECHO If you don't know where WP51 keeps your macros, press Setup (Shift-F1), ECHO (6) Location Of Files, and write down the entry under "Macros/Keyboards" ECHO and enter it from the DOS prompt. (Press Cancel (F1) to return to ECHO the document screen.) ECHO ... ECHO For example: ECHO SETUP c:\wp51\macros ECHO (Copies package to c:\graphcat, using c:\wp51\macros for macros.) ECHO SETUP d:\wp51 d:\wp\utility ECHO (Copies package to d:\wp\utility, using d:\wp51 for macros.) :end PAUSE