home *** CD-ROM | disk | FTP | other *** search
/ Harvey Norman Games / HN.iso / BOARD / CWF_1.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-10-06  |  863b  |  44 lines

  1. @echo off
  2. rem
  3. rem   start install for diskette based distribution
  4. rem
  5. cls
  6. echo ===== Cross Word Finder v1.2 installation ========
  7. echo .
  8. rem   parameters:
  9. rem     %1    from drive
  10. rem     %2    to drive
  11. rem     %3    to path
  12. if x%1 == x goto sendinfo
  13. if x%2 == x goto sendinfo
  14. if x%3 == x goto sendinfo
  15. %2
  16. md \%3
  17. cd \%3
  18. :d1
  19. echo Place disk 1 in drive %1
  20. pause
  21. if not exist %1cwf0002.dat goto e1
  22. copy %1*.*
  23. if errorlevel 1 goto end
  24. install1 %1 
  25. goto end 
  26. :sendinfo
  27. echo command usage for INSTALL.BAT
  28. echo .
  29. echo INSTALL d1 d2 path
  30. echo .   
  31. echo .   d1     is the "from" drive 
  32. echo .   d2     is to "to" drive
  33. echo .   path   is the "to" pathname
  34. echo .  
  35. echo .   EXAMPLE:   INSTALL a: c: CWF           
  36. echo .
  37. echo .   All parameters must be specified. 
  38. goto end
  39. :e1
  40. echo Wrong diskette inserted
  41. goto d1 
  42. :end
  43. echo .
  44.