home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 94.img / FLASHLNK.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1988-09-14  |  1KB  |  65 lines

  1. echo off
  2.  
  3. if "%1" == "go" goto go
  4.  
  5. if exist FL.EXE goto xinst
  6. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  7. echo The DEFAULT diskette must contain FL.EXE
  8. echo For example, to install FL into C:\FL
  9. echo from drive A: type A:(CR) then INSTALL C:(CR)
  10. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  11. goto end
  12.  
  13. :xinst
  14.  
  15. if "%1" == "" goto def
  16.  
  17. if "%1" == "c:" goto app
  18. if "%1" == "C:" goto app
  19. if "%1" == "d:" goto app
  20. if "%1" == "D:" goto app
  21. if "%1" == "e:" goto app
  22. if "%1" == "E:" goto app
  23. if "%1" == "f:" goto app
  24. if "%1" == "F:" goto app
  25.  
  26. :nok
  27. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  28. echo Usage: INSTALL [d:]
  29. echo Where: d: is the
  30. echo  drive to install on
  31. echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  32. goto end
  33.  
  34. :app
  35. set __dr=%1
  36. set __pa=%1\FL
  37. goto inst
  38.  
  39. :def
  40. set __dr=C:
  41. set __pa=C:\FL
  42.  
  43. :inst
  44. echo Installing FLASHlink into %__pa%
  45. md %__pa% >nul
  46.  
  47. copy *.* %__pa% >nul
  48. %__dr%
  49. cd %__pa%
  50. md recv
  51. md send
  52. echo .
  53. echo .
  54. echo FLASHlink is Now Installed in %__pa%
  55. echo .
  56. set __pa=
  57. set __dr=
  58. echo Press ENTER to Start FLASHlink or Ctrl-C to Cancel
  59. echo .
  60. pause
  61. install go
  62. :go
  63. FL
  64. :end
  65.