home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / b / bookwin1.zip / SETUP.BAT < prev    next >
DOS Batch File  |  1993-03-15  |  2KB  |  65 lines

  1. @REM SETUP.BAT; Bookbild/Windows 1.0
  2. @REM Copyright 1993 Jerry Stern--All Rights Reserved, 3/93
  3. @echo off
  4. cls
  5. if not exist bookwin.doc goto baddir
  6. if not exist bookbild.wcm goto baddir
  7. if not exist bookbt37.wpg goto baddir
  8. if "%1"=="" goto info
  9. if "%2"=="" goto info
  10. if not exist %2\*.* goto nomac
  11. if not exist %1\*.* goto new
  12. ECHO Upgrade Installation to Windows version
  13. ECHO Your DOS version graphics and docs will not be replaced.
  14. goto more
  15. :new
  16. ECHO New Installation of version 1.0
  17. :more
  18. ECHO ...
  19. ECHO Files for Bookbild 1.0 for WP/Windows will now be copied:
  20. ECHO The macro will be copied to %2.
  21. ECHO A partial set of the instructions and graphics will be copied
  22. ECHO to the directory %1.  You will need about 200K of free space.
  23. ECHO ...
  24. ECHO Press any key to proceed with installation, or Control-C to stop now.
  25. pause > nul
  26. copy bookbild.wcm %2
  27. if not exist %1\*.* md %1
  28. copy *.doc %1\*.*
  29. copy *.wpg %1\*.*
  30. copy readme.now %1\*.*
  31. copy printman.bat %1\*.*
  32. ECHO Done...
  33. ECHO If you haven't already,
  34. ECHO run PRINTMAN.BAT for instructions on printing the manual.
  35. goto end
  36. :nomac
  37. ECHO Bookbild/Windows 1.0 Installation
  38. ECHO The directory that you have chosen to copy the macro to
  39. ECHO is empty or doesn't exist. Please check the name, and try again.
  40. goto end
  41. :baddir
  42. ECHO Bookbild/Windows 1.0 Installation
  43. ECHO You must start this installation by logging to the drive and directory
  44. ECHO where the files are currently located. When you run SETUP from that
  45. ECHO directory, it will help you find the correct startup command to
  46. ECHO install your software.
  47. goto end
  48. :info
  49. ECHO Bookbild/Windows 1.0 Installation
  50. ECHO Start SETUP.BAT with the new directory name to make for
  51. ECHO storing Bookbild instructions and graphics, and the name
  52. ECHO of the macro directory used by WordPerfect, usually
  53. ECHO c:\wpwin\macros or c:\wpwin.
  54. ECHO ...
  55. ECHO If you don't know where WP/WIN keeps your macros,
  56. ECHO choose File, Preferences, Location of Files, and write
  57. ECHO down the entry under "Macros/Keyboards/Button Bars" and
  58. ECHO enter it from the DOS prompt. (Press Escape to return to
  59. ECHO the document screen.)
  60. ECHO ...
  61. ECHO For example: 
  62. ECHO SETUP c:\Bookbild c:\wpwin\macros
  63. ECHO (Copies package to c:\Bookbild, using c:\wpwin\macros for macros.)
  64. :end
  65. PAUSE