home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / p / ppboot02.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  2013-02-02  |  1KB  |  66 lines

  1. echo off
  2. readme
  3. cls
  4. set sdir=C:\CONFIG
  5. echo.
  6. echo.
  7. echo.   Configuration examples for PP-BOOT are copied to %sdir%\
  8. echo.   ===========================================================        
  9. echo.
  10. if not exist EXAMPLES.EXE goto ERROR
  11. pause
  12. ctty nul
  13. md %sdir%
  14. md xyzxyzxy.z
  15. cd xyzxyzxy.z
  16. copy ..\examples.exe/b *.*
  17. ctty con
  18. EXAMPLES
  19. del examples.exe
  20. copy *.*/b %sdir%\*.*
  21. ctty nul
  22. del a*.*
  23. del c*.*
  24. del h*.*
  25. del ?dummy
  26. cd..
  27. rd xyzxyzxy.z
  28. ctty con
  29. echo.
  30. echo.
  31. echo.     The files  EXAMPLES.EXE
  32. echo.                README.EXE
  33. echo.                PP-BOOT.DOC
  34. echo.                HISTORY.DOC
  35. echo.                INSTALL.BAT
  36. echo.                REGISTER.TXT              (after registration)
  37. echo.     may be deleted afterwards.        
  38. echo.
  39. pause
  40. if not exist PP-BOOT.EXE goto ENDE
  41. PP-BOOT *03%sdir%
  42. if exist %sdir%\?SAVED-C.ONF goto SCHONDA
  43. :SAVE
  44. PP-BOOT /B=SAVED-CONF
  45. echo.
  46. echo. The original configuration was saved as SAVED-CONF.
  47. echo.
  48. pause
  49. PP-BOOT /H
  50. PP-BOOT /D
  51. goto ENDE
  52. :SCHONDA
  53. echo.
  54. echo. File(s) %sdir%\?SAVED-C.ONF are already existing.
  55. echo. Press any key to save the original configuration !                  
  56. echo. Cancel by pressing Ctrl-C !
  57. echo.
  58. pause
  59. goto SAVE
  60. :ERROR
  61. echo.
  62. echo.   The file EXAMPLES.EXE is not located in the current directory!
  63. :ENDE
  64. set sdir=
  65. echo.
  66.