home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 3 / Chip_Hitware_Vol_03.iso / chiphit3 / win95 / tool / greenss / install.bat < prev   
DOS Batch File  |  1995-09-17  |  1KB  |  31 lines

  1. @echo off
  2. if not exist .\INSTALL.BAT goto DIRBAD
  3. if not exist .\GREENSAV.WRI goto DIRBAD
  4. if not exist .\FROGSAV.SCR goto DIRBAD
  5. if not exist .\CRICKSAV.SCR goto DIRBAD
  6. if exist %windir%\SYSTEM32\CONFIG goto WINNT
  7. if exist %windir%\SYSTEM\IOSUBSYS\*.VXD goto WIN95
  8. echo Install can't find a Windows NT or Windows 95 SYSTEM directory.
  9. echo See the file GREENSAV.WRI for manual installation instructions.
  10. goto done
  11. :DIRBAD
  12. echo INSTALL is unable to find the files to install...
  13. echo INSTALL must be executed from the same directory as the files to install.
  14. goto done
  15. :WINNT
  16. echo Copying Green Saver files to %windir%\SYSTEM32
  17. copy FROGSAV.SCR %windir%\SYSTEM32\FrogSav.scr
  18. copy CRICKSAV.SCR %windir%\SYSTEM32\CrickSav.scr
  19. echo Copying GREENSAV.WRI to %windir%
  20. copy GREENSAV.WRI %windir%
  21. goto done
  22. :WIN95
  23. echo Copying Green Saver files to %windir%\SYSTEM
  24. copy FROGSAV.SCR %windir%\SYSTEM\"Jumping Frog Green Saver.scr"
  25. copy CRICKSAV.SCR %windir%\SYSTEM\"Jumping Cricket Green Saver.scr"
  26. echo Copying GREENSAV.WRI to %windir%
  27. copy GREENSAV.WRI %windir%
  28. goto done
  29. :DONE
  30.  
  31.