home *** CD-ROM | disk | FTP | other *** search
/ PC & Mediji 1996 November / PCM_9611.iso / programi / mobile / install.bat < prev    next >
DOS Batch File  |  1996-09-04  |  2KB  |  70 lines

  1. echo off
  2. cls
  3. IF "%1"=="C" GOTO fine
  4. IF "%1"=="D" GOTO fine
  5. IF "%1"=="E" GOTO fine
  6. IF "%1"=="F" GOTO fine
  7. IF "%1"=="G" GOTO fine
  8. IF "%1"=="H" GOTO fine
  9. IF "%1"=="I" GOTO fine
  10. IF "%1"=="c" GOTO fine
  11. IF "%1"=="d" GOTO fine
  12. IF "%1"=="e" GOTO fine
  13. IF "%1"=="f" GOTO fine
  14. IF "%1"=="g" GOTO fine
  15. IF "%1"=="h" GOTO fine
  16. IF "%1"=="i" GOTO fine
  17.  
  18. goto error
  19.  
  20. :fine
  21. echo    Mobile Map Ver 0.5 Hard-Drive Installation
  22. echo.
  23. echo.    
  24. echo.
  25. echo.
  26. echo    Other system requirements:
  27. echo            IBM compatible 386sx or better.
  28. echo            Standard VGA graphics card.
  29. echo            Mouse.
  30. echo            560K of free system RAM.
  31. echo.
  32. echo    A new directory 
  33. echo    %1:\MOBILE            
  34. echo    will be created which will contain all of the program
  35. echo    files.
  36. echo.    
  37. echo    If you wish to end the installation at any time press 
  38. echo    CNTRL C to return to DOS. 
  39. echo.
  40. pause
  41. cls
  42. echo.
  43. echo Installing....
  44. md %1:\mobile
  45. copy *.* %1:\mobile
  46. %1:
  47. cd %1:\mobile
  48.  
  49. echo Files successfully installed. To run, type at the DOS prompt
  50. echo            mobile<RETURN>
  51. echo when in the directory
  52. echo            %1:\MOBILE
  53. echo.  
  54. echo.
  55. pause
  56. cls
  57. %1:
  58. mobile
  59. goto end
  60. :error
  61. echo    This installation program requires you to enter the letter
  62. echo    of the drive which you are installing to.
  63. echo    Eg. 
  64. echo            INSTALL C   
  65. echo    Will read the files from the current drive and install them 
  66. echo    onto drive C:\
  67. echo.
  68. echo    Please try again.
  69. :end
  70.