home *** CD-ROM | disk | FTP | other *** search
/ Best Sellers 7: Football Classics 2 / CD1.iso / bsfball2 / windows / ggoal / install.bat < prev    next >
DOS Batch File  |  1997-09-11  |  1KB  |  50 lines

  1. @echo off
  2. if "%1"=="" goto doh
  3. attrib *.* -r -h
  4. if not exist GGOAL.EXE goto wellwherethebloodyhellisit
  5. if not exist %1 md %1
  6. cls
  7. echo          ╔══════════════════════════════════════════════════════╗
  8. echo          ║Installation Program for Golden Goal - (c)Stevie C '97║
  9. echo          ╚══════════════════════════════════════════════════════╝
  10. pause
  11. copy *.* %1
  12. if errorlevel 1 goto whoops
  13. cls
  14. echo.   The Installation is complete.
  15. echo.
  16. echo.   To play the game change to the directory
  17. echo.   and then type RUN.
  18. echo.  
  19. goto end
  20.  
  21. :whoops
  22. echo.  
  23. echo.   There was an error during installation.
  24. echo.   Please make sure you specified the drive and path
  25. echo.  
  26. echo.   e.g.  INSTALL C:\GGOAL
  27. echo.  
  28. goto end:
  29.  
  30. :doh
  31. cls
  32. ECHO.  
  33. ECHO.   You must type the drive & directory where you wish to install this game
  34. echo.
  35. echo.   e.g.  INSTALL C:\GGOAL
  36. echo.  
  37. goto end:
  38.  
  39. :wellwherethebloodyhellisit
  40. echo  
  41. echo   You must run the installation program
  42. echo   from the installation drive.
  43. echo   Change to the a drive and try again.
  44. echo  
  45. goto end:
  46.  
  47. :end
  48. attrib *.* +r +h
  49. attrib install.bat -h
  50.