home *** CD-ROM | disk | FTP | other *** search
/ Software One-Stop 3 / BOOTCDROM.iso / install / ess688 / dosapp / install.bat < prev    next >
Encoding:
DOS Batch File  |  1994-12-31  |  1.7 KB  |  76 lines

  1. @echo off
  2. echo AudioDrive for DOS version 1.0 Installation
  3. echo Copyright(c) 1993-1995 ESS Technology, Inc.
  4. echo .
  5. echo Press Ctrl-C to quit, or
  6. pause
  7.  
  8. if "x"%1 == "x" goto Usage
  9. if "x"%2 == "x" goto Usage
  10.  
  11. for %%d in (A: a: B: b: C: c: D: d: E: e: F: f: G: g: H: h:) do if "%%d" == "%1" goto next
  12. goto badsrc
  13.  
  14. :next
  15. for %%d in (C: c: D: d: E: e: F: f: G: g: H: h:) do if "%%d" == "%2" goto next1
  16. goto baddst
  17. :next1
  18. %2
  19. cd \
  20. echo Make directories and copy files.
  21. echo Ignore error messages if directory exists.
  22.  
  23. if "x"%3 == "x" goto default
  24. mkdir %3
  25. mkdir %3\awav
  26. expand %1rec688.ex_ %3\rec688.exe
  27. expand %1dcalc.ex_ %3\dcalc.exe
  28. expand %1dclock.ex_ %3\dclock.exe
  29. expand %1esscfg.ex_ %3\esscfg.exe
  30. expand %1essvol.ex_ %3\essvol.exe
  31. expand %1set-ess.ex_ %3\set-ess.exe
  32. expand %1sfxtrain.wa_ %3\sfxtrain.wav
  33. copy %1*.txt %3\*.txt
  34. %1
  35. cd awav
  36. copy *.* %2\%3\awav
  37. cd..
  38. %2
  39. cd %3
  40. %2\%3\esscfg
  41. goto reboot
  42.  
  43. :default
  44. mkdir pcaudio
  45. mkdir pcaudio\awav
  46. expand %1rec688.ex_ pcaudio\rec688.exe
  47. expand %1dcalc.ex_ pcaudio\dcalc.exe
  48. expand %1dclock.ex_ pcaudio\dclock.exe
  49. expand %1esscfg.ex_ pcaudio\esscfg.exe
  50. expand %1essvol.ex_ pcaudio\essvol.exe
  51. expand %1set-ess.ex_ pcaudio\set-ess.exe
  52. expand %1sfxtrain.wa_ pcaudio\sfxtrain.wav
  53. copy %1*.txt pcaudio\*.txt
  54. %1
  55. cd awav
  56. copy *.* %2\pcaudio\awav
  57. cd..
  58. %2
  59. cd pcaudio
  60. %2\pcaudio\esscfg
  61. :reboot
  62. echo    Please Reboot the system
  63. goto end
  64. :Usage
  65. echo Specify both  source and destination drive.
  66. echo EXAMPLE:  INSTALL A: C:
  67. goto end
  68. :badsrc
  69. echo Invalid source drive. Use A: or B:
  70. echo EXAMPLE:  INSTALL A: C:
  71. goto end
  72. :baddst
  73. echo Invalid destination drive. Use C: or D: or E:
  74. echo EXAMPLE:  INSTALL A: C:
  75. :end
  76.