home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 28 / XENIATGM28.iso / win95 / temi / rtp95.exe / Install.bat next >
DOS Batch File  |  1996-01-05  |  2KB  |  77 lines

  1. @echo off
  2. cls
  3. if (%1) == () goto help
  4. if (%2) == () goto auto
  5. if exist %1%2\desktop\*.* goto manual
  6. goto help
  7.  
  8. :auto
  9. if not exist %1\windows\desktop\*.* goto help
  10. echo Windows 95 directory found, hit a key to begin installation.
  11. pause >nul
  12. md %1\windows\Ranma95
  13. attrib -r -h c:\logo.sys
  14. if not exist c:\logo.bak copy c:\logo.sys c:\logo.bak
  15. copy logo.sys c:\
  16. if not exist %1\windows\logo?.bak copy %1\windows\logo?.sys %1\windows\*.bak
  17. copy logow.sys %1\windows
  18. copy logos.sys %1\windows
  19. copy *.BMP %1\windows
  20. copy *.ANI %1\windows\Ranma95
  21. copy *.CUR %1\windows\Ranma95
  22. copy *.ICO %1\windows\Ranma95
  23. copy *.WAV %1\windows\Ranma95
  24. copy *.TXT %1\windows\Ranma95
  25. copy *.scr %1\windows
  26. if exist %1\progra~1\Plus!\Themes\*.* copy *.the %1\progra~1\Plus!\Themes
  27. if not exist %1\progra~1\Plus!\themes\*.* echo *** The themes directory is not found ***
  28. if not exist %1\progra~1\Plus!\themes\*.* pause
  29.  
  30. goto end
  31.  
  32. :manual
  33. if not exist %1%2\desktop\*.* goto help
  34. echo Windows 95 directory found, hit a key to begin installation.
  35. pause >nul
  36. md %1%2\Ranma95
  37. attrib -r -h c:\logo.sys
  38. if not exist c:\logo.bak copy c:\logo.sys c:\logo.bak
  39. copy logo.sys c:\
  40. if not exist %1%2\logo?.bak copy %1%2\logo?.sys %1%2\*.bak
  41. copy logow.sys %1%2
  42. copy logos.sys %1%2
  43. copy *.scr %1%2
  44. copy *.BMP %1%2
  45. copy *.ANI %1%2\Ranma95
  46. copy *.CUR %1%2\Ranma95
  47. copy *.ICO %1%2\Ranma95
  48. copy *.WAV %1%2\Ranma95
  49. copy *.TXT %1%2\Ranma95
  50. if exist %1%3\themes\*.* copy *.the %1%3\Themes
  51. if not exist %1%3\themes\*.* echo *** The themes directory is not found ***
  52. if not exist %1%3\themes\*.* pause
  53.  
  54. goto end
  55.  
  56. :help
  57. echo Ranma 1/2 Theme Pack for Windows 95 Version 2
  58. echo.
  59. echo Installing the Ranma 1/2 Theme Pack is simple, just type in:
  60. echo       INSTALL [drive:] [Windows 95 directory] [Plus! directory]
  61. echo.
  62. echo (ex - INSTALL c: \Windows \progra~1\Plus!)
  63. echo.
  64. echo If your Plus! pack and Windows are installed at the
  65. echo directories shown above, you can leave the directory
  66. echo parameters blank.  So you only need to type (INSTALL C:).
  67. echo.
  68. echo If the theme pack directory is not found, please move the
  69. echo *.THEME files to your "Plus!\Themes" directory manually
  70. echo through the Windows Explorer.
  71. echo.
  72. echo.
  73. echo.
  74. goto end
  75.  
  76. :end
  77.