home *** CD-ROM | disk | FTP | other *** search
/ The First Hungarian Family / The_First_Hungarian_Family_CD-ROM.bin / internet / offlread / html / wmaster2 / dupe.bat < prev    next >
DOS Batch File  |  1995-06-22  |  3KB  |  98 lines

  1. ECHO OFF
  2. CLS
  3. SET d=A:
  4. IF .%1%== . GOTO start 
  5. SET d=%1%
  6. ECHO -1>%d%TEST
  7. IF NOT EXIST %d%TEST GOTO :error
  8. del %d%test
  9. :start
  10. ECHO                         WebMaster(TM) 2.0 DUPLICATOR             
  11. ECHO -------------------------------------------------------------------------
  12. ECHO                              WebMaster(TM) 2.0
  13. ECHO                       Copyright 1995 The BrainStorm Co.
  14. ECHO                             All Rights Reserved
  15. ECHO.
  16. ECHO                            The BrainStorm Company
  17. ECHO                   P.O. Box 1333 - Studio City - CA - 91614
  18. ECHO                   For more information call (213) 969-2455
  19. ECHO                            Email: BrainCo@aol.com
  20. ECHO _________________________________________________________________________
  21. ECHO.
  22. ECHO This creates WebMaster(TM) 2.0 shareware disks that you can pass on to
  23. ECHO friends, neighbors, pets, teachers, associates, librarians, pen pals,
  24. ECHO Vice Presidents...  Have two pre-formatted floppy disks ready (you may 
  25. ECHO also want to print READ_1ST.TXT and apply the "disk labels" provided.
  26. ECHO Your destination drive is set to A: - if this isn't true, restart, and
  27. ECHO type DUPE + the correct drive letter (i.e. DUPE B: installs to B:).
  28. ECHO.
  29. ECHO                READ THE 'READ_1ST.TXT' FILE FOR DETAILS
  30. ECHO.
  31. ECHO                Press CTRL+BREAK to stop installation...
  32. ECHO.
  33. pause
  34. :begin1
  35. if exist WMASTER.EXE goto begin2
  36. goto end2
  37. :begin2
  38. deltree /y c:\pmetedup
  39. mkdir C:\pmetedup
  40. cls
  41. ECHO Copying data...
  42. copy crank1.wm2 C:\pmetedup
  43. copy crank2.wm2 C:\pmetedup
  44. copy crank3.wm2 C:\pmetedup
  45. copy dupe.bat C:\pmetedup
  46. copy upload.bat C:\pmetedup
  47. copy foxw2600.esl C:\pmetedup
  48. copy wmaster.exe C:\pmetedup
  49. cls
  50. ECHO Insert formatted Disk #1
  51. pause
  52. ECHO Copying...
  53. copy install.bat %d%
  54. cls
  55. ECHO Please remove Disk #1 and label it now.
  56. ECHO Insert formatted Disk #2
  57. pause
  58. ECHO Copying...
  59. copy splitf.exe %d%
  60. copy lharc.exe %d%
  61. copy install.bat %d%
  62. C:
  63. cd C:\pmetedup
  64. ECHO No problem...
  65. copy crank2.wm2 data.dbf
  66. copy crank3.wm2 data.fpt
  67. ren crank1.wm2 temp.lzh
  68. lharc x temp.lzh
  69. ren temp.lzh crank1.wm2
  70. cls
  71. ECHO Zipping files...
  72. lharc a wmaster2.lzh
  73. splitf wmaster2.lzh 1100000
  74. cls
  75. ECHO Copying...
  76. copy wmaster2.001 %d%
  77. cls
  78. ECHO Please insert Disk #1 again...
  79. pause
  80. ECHO Copying...
  81. copy wmaster2.000 %d%
  82. deltree /y C:\pmetedup
  83. C:
  84. rd C:\pmetedup
  85. goto end
  86. :error
  87. echo Drive not responding--please try again.
  88. :end2
  89. cls
  90. ECHO WebMaster(TM) 2.0 is not in this directory...
  91. goto end3
  92. :end
  93. cls
  94. ECHO Set of WebMaster(TM) 2.0 shareware diskettes successfully created!
  95. ECHO Give these disks to everyone you know - please share WebMaster(TM)!
  96. C:
  97. :end3
  98.