home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 27 / MMCD27.iso / DFDEMO / DFDEMO.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-01-03  |  2.8 KB  |  137 lines

  1. @echo off
  2. cls
  3. if not exist darkpath.cfg goto install
  4.  
  5. :inicio
  6. set cd_u=
  7. if exist darkpath.d set cd_u=d
  8. if exist darkpath.e set cd_u=e
  9. if exist darkpath.f set cd_u=f
  10. if exist darkpath.g set cd_u=g
  11. if exist darkpath.h set cd_u=h
  12. if exist darkpath.i set cd_u=i
  13. if exist darkpath.j set cd_u=j
  14. if exist darkpath.k set cd_u=k
  15. if exist darkpath.l set cd_u=l
  16. if exist darkpath.m set cd_u=m
  17. if exist darkpath.n set cd_u=n
  18. if exist darkpath.o set cd_u=o
  19. if exist darkpath.p set cd_u=p
  20. if exist darkpath.q set cd_u=q
  21. if exist darkpath.r set cd_u=r
  22. if exist darkpath.s set cd_u=s
  23. if exist darkpath.t set cd_u=t
  24. if exist darkpath.u set cd_u=u
  25. if exist darkpath.v set cd_u=v
  26. if exist darkpath.w set cd_u=w
  27. if exist darkpath.x set cd_u=x
  28. if exist darkpath.y set cd_u=y
  29. if exist darkpath.z set cd_u=z
  30.  
  31. if not exist %cd_u%:\dfdemo\df.exe goto datobien
  32.  
  33. if exist c:\lucasart\dfdemo.bat goto sonido0
  34. md c:\lucasart
  35. copy %cd_u%:\dfdemo\dfdemo.bat > nul
  36.  
  37. :sonido0
  38.  
  39. c:
  40. cd \lucasart
  41. if exist c:\lucasart\imuse.ini goto carga
  42.  
  43. if exist c:\lucasart\dos4gw.exe goto sonido2
  44. copy %cd_u%:\dfdemo\dos4gw.exe c:\lucasart > nul
  45.  
  46. :sonido2
  47. %cd_u%:\dfdemo\imuse %cd_u%:\dfdemo\ imuse.exe c:\lucasart\imuse.ini
  48.  
  49. :carga
  50. cls
  51. echo Pulsa:
  52. echo .
  53. echo 0.- EJECUTAR LA DEMO
  54. echo .
  55. echo 1.- AJUSTAR TARJETA DE SONIDO
  56. echo 3.- LEER INSTRUCCIONES Y DATOS DE INTERES SOBRE LA DEMO
  57. echo .
  58. echo 5.- CREAR DISCO DE ARRANQUE
  59. echo .
  60. echo 8.- SALIR
  61. pause >nul
  62. %cd_u%:\dfdemo\inkey
  63. cls
  64. if errorlevel 57 goto carga
  65. if errorlevel 56 goto fin
  66. if errorlevel 55 goto carga
  67. if errorlevel 54 goto carga
  68. if errorlevel 53 goto boot
  69. if errorlevel 52 goto carga
  70. if errorlevel 51 goto leeme
  71. if errorlevel 50 goto carga
  72. if errorlevel 49 goto camsoni
  73. if errorlevel 48 goto carga1
  74. if errorlevel 47 goto carga
  75.  
  76. :camsoni
  77. del imuse.ini
  78. goto sonido2
  79.  
  80. :teclas
  81. keyconfi
  82. goto carga
  83.  
  84. :boot
  85. %cd_u%:\dfdemo\bootmkr
  86. echo .
  87. pause Pulsa tecla para continuar...
  88. goto carga
  89.  
  90. :leeme
  91. more < dfreadme.txt
  92. echo .
  93. pause Pulsa tecla para volver al menú...
  94. goto carga
  95.  
  96. :carga1
  97. %cd_u%:\dfdemo\df
  98. echo .
  99. pause Pulsa tecla para continuar...
  100. goto carga
  101.  
  102. :install
  103.  
  104. if exist c:\lucasart\darkpath.cfg goto cambia
  105. Echo Instalando DEMO de DARK FORCES en tu unidad C: directorio \LUCASART...
  106.  
  107. if not exist \dfdemo\df.exe goto datobien
  108.  
  109. md c:\lucasart
  110. set what=
  111. what ye
  112.  
  113. copy \dfdemo\install\darkpath.c%what% c:\lucasart\darkpath.cfg > nul 
  114. copy \dfdemo\install\darkpath.c%what% c:\lucasart\darkpath.%what% > nul 
  115. copy \dfdemo\dfreadme.txt c:\lucasart > nul
  116. copy \dfdemo\dos4gw.exe c:\lucasart > nul
  117. copy \dfdemo\dfdemo.bat c:\lucasart > nul
  118. set what=
  119. cls
  120. c:
  121. cd \lucasart
  122. dfdemo
  123. goto fin
  124.  
  125. :cambia
  126. c:
  127. cd \lucasart
  128. goto inicio
  129.  
  130. :datobien
  131. cls
  132. Echo No creo que sea la unidad en donde se encuentra la DEMO de DARK FORCES.
  133.  
  134. :fin
  135. set cd_u=
  136.  
  137.