home *** CD-ROM | disk | FTP | other *** search
/ Kids Cube / 6_Math.iso / addalotm / install.bat < prev    next >
DOS Batch File  |  1993-08-25  |  3KB  |  72 lines

  1. echo off
  2. if %1a == a goto nopath
  3. goto instal
  4. :nopath
  5. echo      *-------------------------------------------------------*
  6. echo      *  Sir AddaLot's "Mini" Math Adventure Install Program  *
  7. echo      *       Please specify the drive where you wish         *
  8. echo      *       to install Sir AddaLot , for example:           *
  9. echo      *               install C:                              *
  10. echo      *-------------------------------------------------------*
  11. goto endinst
  12.  
  13. :badpath
  14. echo      *
  15. echo      *
  16. echo      *
  17. echo      *
  18. echo      *
  19. echo      *-------------------------------------------------------*
  20. echo      *  Sir AddaLot's "Mini" Math Adventure Install Program  *
  21. echo      *     the specified drive : %1 does not exist.          *
  22. echo      *       Please specify the drive where you wish         *
  23. echo      *       to install Sir AddaLot , for example:           *
  24. echo      *                 install C:                            *
  25. echo      *-------------------------------------------------------*
  26. goto endinst
  27.  
  28. :instal
  29. echo      *-------------------------------------------------------*
  30. echo      *  Sir AddaLot's "Mini" Math Adventure Install Program  *
  31. echo      *        Welcome to the install program!                *
  32. echo      *-------------------------------------------------------*
  33. echo      *  Sir AddaLot's "Mini" Math Adventure Install Program  *
  34. echo      *        will create the following directory:           *
  35. echo      *                    %1/AddaLotM                        *
  36. echo      *-------------------------------------------------------*
  37. echo      *
  38. echo      Press the Control Key and the C at the same time to quit.
  39. echo               -or-
  40. pause
  41.  
  42. echo      *-----------------------------------------------------*
  43. echo      *             INSTALLATION IN PROGRESS!               *
  44. echo      *-----------------------------------------------------*
  45.  
  46. md %1\AddaLotM
  47. copy *.doc %1\AddaLotM
  48. copy *.diz %1\AddaLotM
  49. copy *.frm %1\AddaLotM
  50. copy *.bat %1\AddaLotM
  51.  
  52. if not exist %1\AddaLotM\*.* goto badpath
  53. md %1\AddaLotM\Dungeon
  54. copy AddaLotM.001 %1\AddaLotM\AddaLotM.exe
  55. copy AddaLotM.002 %1\AddaLotM\Dungeon\AddaLotM.exe
  56. %1
  57. cd \AddaLotM\Dungeon
  58. echo      *-----------------------------------------------------*
  59. echo      *               UNARCHIVING FILES                     *
  60. echo      *-----------------------------------------------------*
  61. AddaLotM
  62. del AddaLotM.exe
  63. cd \AddaLotM
  64. AddaLotM
  65. del AddaLotM.exe
  66. echo      *-------------------------------------------------------*
  67. echo      *   To play Sir AddaLot's "Mini" Math Adventure type:   *
  68. echo      *              AddaLot (enter)                          *
  69. echo      *     Enjoy the game, watch out for the dragon!         *
  70. echo      *-------------------------------------------------------*
  71. :endinst
  72.