home *** CD-ROM | disk | FTP | other *** search
/ PC Plus 51 / REBOOT / REBOOT.ZIP / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-08-01  |  1012 b   |  37 lines

  1. echo off 
  2. cls 
  3. echo -  INSTALLATION OR UPDATE OF REBOOT ONTO ONTO HARD DISK %1 
  4. echo -  ====================================================== 
  5. echo - 
  6. echo -  This will copy the REBOOT program onto your Hard Disk,
  7. echo -  in subdirectory :\RBT     (does not overwrite existing data)
  8.  
  9. if not "%1"=="" goto jump1 
  10.  
  11. echo -  REBOOT will be installed on DRIVE C; to install on other drives 
  12. echo -  press CTRL C to quit, and re-enter   INSTALL D   or INSTALL E  etc... 
  13. echo - 
  14.  
  15. :jump1 
  16. pause 
  17. c: 
  18. if not "%1"=="" %1: 
  19. echo - 
  20. md \RBT 
  21. echo -  Copying programs onto Hard disk 
  22. copy a:*.*    \rbt
  23. copy \rbt\reboot.bat   \
  24. del \rbt\reboot.bat 
  25. del \rbt\install.bat
  26.  
  27. REM    delete any old versions of reboot if they exist
  28. if exist \rbt\run.exe del \rbt\run.exe
  29. if exist \rbt\rb1.com del \rbt\rb1.com
  30. if exist \rbt\rb2.com del \rbt\rb2.com
  31. if exist \rbt\rbt.pgm del \rbt\rbt.pgm
  32.  
  33. echo -    Finished! 
  34. echo - 
  35. echo -    Any problems, 'phone   The Ctrl Alt Deli   0908-662759 
  36. echo - 
  37.