home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Multimedia Development Kit 0.9 beta / MDKBeta_DevEnvironment_ISO9660.iso / mdkflop.bat < prev    next >
Encoding:
DOS Batch File  |  1990-11-09  |  11.4 KB  |  298 lines

  1. @echo off
  2. REM Multimedia Development Kit floppy disk set batch file
  3. REM Date: 11/08/90
  4.  
  5. REM Variables
  6. set COPY=copy
  7. set DEST=a:
  8. set DISK=all
  9. set FORMAT=n
  10. set NUM_DISKS=4
  11.  
  12. REM Check environment space
  13. if "%NUM_DISKS%"=="4" goto START
  14. echo Error: Out of environment space!
  15. echo:
  16. echo Modify the /e switch of COMMAND.COM in your CONFIG.SYS file.
  17. echo See your DOS manual for details.
  18. echo:
  19. goto END
  20.  
  21. :START
  22. echo This batch file will create a floppy disk set of the Multimedia
  23. echo Development Kit.  You will need %NUM_DISKS% blank, formatted disks
  24. echo ready to create the full set.
  25. echo:
  26. echo      USAGE: mdkflop [/f] [/disk#]
  27. echo          /f will format all disks before copying
  28. echo          /disk# will create a specific disk (i.e. /1, /2...)
  29. echo:
  30. echo To abort press CTRL+BREAK now.
  31. echo:
  32.  
  33. :ARG_FORMAT
  34. if not "%1"=="/f" goto ARG_DISK
  35. set FORMAT=y
  36. shift
  37. echo WARNING: /f option is specified.  All disks will be formatted before copying.
  38. echo:
  39.  
  40. :ARG_DISK
  41. if "%1"=="/1" set DISK=1
  42. if "%1"=="/2" set DISK=2
  43. if "%1"=="/3" set DISK=3
  44. if "%1"=="/4" set DISK=4
  45. if "%DISK%"=="all" goto DO_COPY
  46. shift
  47.  
  48. :DO_COPY
  49. if "%DISK%"=="all" goto DISK1
  50. if "%DISK%"=="1" goto DISK1
  51. if "%DISK%"=="2" goto DISK2
  52. if "%DISK%"=="3" goto DISK3
  53. if "%DISK%"=="4" goto DISK4
  54.  
  55. :DISK1
  56. echo Please insert a disk in drive a:, this is Multmedia Development Kit disk #1
  57. pause
  58. if "%FORMAT%"=="y" format a:
  59.  
  60. md a:\MWINDOWS
  61. %COPY% MWINDOWS\adlib.drv %DEST%\MWINDOWS
  62. %COPY% MWINDOWS\cpl.exe %DEST%\MWINDOWS
  63. %COPY% MWINDOWS\dib.drv %DEST%\MWINDOWS
  64. %COPY% MWINDOWS\disp.cpl %DEST%\MWINDOWS
  65. %COPY% MWINDOWS\drivers.cpl %DEST%\MWINDOWS
  66. %COPY% MWINDOWS\ibmjoy.drv %DEST%\MWINDOWS
  67. %COPY% MWINDOWS\joystick.cpl %DEST%\MWINDOWS
  68. %COPY% MWINDOWS\lrfix.fon %DEST%\MWINDOWS
  69. %COPY% MWINDOWS\lrhelv.fon %DEST%\MWINDOWS
  70. %COPY% MWINDOWS\lrhelvb.fon %DEST%\MWINDOWS
  71. %COPY% MWINDOWS\lroem.fon %DEST%\MWINDOWS
  72. %COPY% MWINDOWS\lrsys.fon %DEST%\MWINDOWS
  73. %COPY% MWINDOWS\mcga256.drv %DEST%\MWINDOWS
  74. %COPY% MWINDOWS\mcicda.drv %DEST%\MWINDOWS
  75. %COPY% MWINDOWS\mcimmp.drv %DEST%\MWINDOWS
  76. %COPY% MWINDOWS\mcipionr.drv %DEST%\MWINDOWS
  77. %COPY% MWINDOWS\mciseq.drv %DEST%\MWINDOWS
  78. %COPY% MWINDOWS\mciwave.drv %DEST%\MWINDOWS
  79. %COPY% MWINDOWS\medbits.mmh %DEST%\MWINDOWS
  80. %COPY% MWINDOWS\mediaman.dll %DEST%\MWINDOWS
  81. %COPY% MWINDOWS\medwave.mmh %DEST%\MWINDOWS
  82. %COPY% MWINDOWS\midi.cpl %DEST%\MWINDOWS
  83. %COPY% MWINDOWS\midimap.ini %DEST%\MWINDOWS
  84. %COPY% MWINDOWS\mmclock.exe %DEST%\MWINDOWS
  85. %COPY% MWINDOWS\mmcpl.cpl %DEST%\MWINDOWS
  86. %COPY% MWINDOWS\mmp.dll %DEST%\MWINDOWS
  87. %COPY% MWINDOWS\mmsound.drv %DEST%\MWINDOWS
  88. %COPY% MWINDOWS\mmsystem.dll %DEST%\MWINDOWS
  89. %COPY% MWINDOWS\mmtask.tsk %DEST%\MWINDOWS
  90. %COPY% MWINDOWS\mmv7vga.drv %DEST%\MWINDOWS
  91. %COPY% MWINDOWS\mmwinver.exe %DEST%\MWINDOWS
  92. %COPY% MWINDOWS\mplayer.exe %DEST%\MWINDOWS
  93. %COPY% MWINDOWS\mpu401.drv %DEST%\MWINDOWS
  94. %COPY% MWINDOWS\scrnsvr.exe %DEST%\MWINDOWS
  95. %COPY% MWINDOWS\snd.cpl %DEST%\MWINDOWS
  96. %COPY% MWINDOWS\sndblst.drv %DEST%\MWINDOWS
  97. %COPY% MWINDOWS\ssclock.scr %DEST%\MWINDOWS
  98. %COPY% MWINDOWS\ssclrwsh.scr %DEST%\MWINDOWS
  99. %COPY% MWINDOWS\ssdimmer.scr %DEST%\MWINDOWS
  100. %COPY% MWINDOWS\ssdlg.cpl %DEST%\MWINDOWS
  101. %COPY% MWINDOWS\sslissju.scr %DEST%\MWINDOWS
  102. %COPY% MWINDOWS\ssmarque.scr %DEST%\MWINDOWS
  103. %COPY% MWINDOWS\ssmelt.scr %DEST%\MWINDOWS
  104. %COPY% MWINDOWS\ssmyst.scr %DEST%\MWINDOWS
  105. %COPY% MWINDOWS\ssrocket.scr %DEST%\MWINDOWS
  106. %COPY% MWINDOWS\ssrsedsk.scr %DEST%\MWINDOWS
  107. %COPY% MWINDOWS\ssshwpct.scr %DEST%\MWINDOWS
  108. %COPY% MWINDOWS\ssstars.scr %DEST%\MWINDOWS
  109. %COPY% MWINDOWS\timer.drv %DEST%\MWINDOWS
  110. %COPY% MWINDOWS\vgagrey.drv %DEST%\MWINDOWS
  111. %COPY% MWINDOWS\vtdapi.386 %DEST%\MWINDOWS
  112. %COPY% MWINDOWS\wincom.dll %DEST%\MWINDOWS
  113. %COPY% MWINDOWS\winhelp.exe %DEST%\MWINDOWS
  114. %COPY% .\setup.bmp %DEST%\.
  115. %COPY% .\setup.exe %DEST%\.
  116. attrib +r  %DEST%\.\setup.exe
  117. %COPY% .\setup.inf %DEST%\.
  118. echo:
  119. if "%DISK%"=="1" goto END
  120.  
  121. :DISK2
  122. echo Please insert a disk in drive a:, this is Multmedia Development Kit disk #2
  123. pause
  124. if "%FORMAT%"=="y" format a:
  125.  
  126. md a:\MWINDOWS
  127. %COPY% MWINDOWS\bells.wav %DEST%\MWINDOWS
  128. %COPY% MWINDOWS\blocks.wav %DEST%\MWINDOWS
  129. %COPY% MWINDOWS\clavier.mid %DEST%\MWINDOWS
  130. %COPY% MWINDOWS\clock.wav %DEST%\MWINDOWS
  131. %COPY% MWINDOWS\deskjet.hlp %DEST%\MWINDOWS
  132. %COPY% MWINDOWS\door.wav %DEST%\MWINDOWS
  133. %COPY% MWINDOWS\finstall.hlp %DEST%\MWINDOWS
  134. %COPY% MWINDOWS\gong.wav %DEST%\MWINDOWS
  135. %COPY% MWINDOWS\helve.fon %DEST%\MWINDOWS
  136. %COPY% MWINDOWS\hppcl.hlp %DEST%\MWINDOWS
  137. %COPY% MWINDOWS\jawharp.wav %DEST%\MWINDOWS
  138. %COPY% MWINDOWS\lanman.hlp %DEST%\MWINDOWS
  139. %COPY% MWINDOWS\laser.wav %DEST%\MWINDOWS
  140. %COPY% MWINDOWS\netware.hlp %DEST%\MWINDOWS
  141. %COPY% MWINDOWS\ohoh.wav %DEST%\MWINDOWS
  142. %COPY% MWINDOWS\paintjet.hlp %DEST%\MWINDOWS
  143. %COPY% MWINDOWS\pscript.hlp %DEST%\MWINDOWS
  144. %COPY% MWINDOWS\setup.exe %DEST%\MWINDOWS
  145. %COPY% MWINDOWS\setup.inf %DEST%\MWINDOWS
  146. %COPY% MWINDOWS\sysini.txt %DEST%\MWINDOWS
  147. %COPY% MWINDOWS\sysini2.txt %DEST%\MWINDOWS
  148. %COPY% MWINDOWS\sysini3.txt %DEST%\MWINDOWS
  149. %COPY% MWINDOWS\train.wav %DEST%\MWINDOWS
  150. %COPY% MWINDOWS\tty.hlp %DEST%\MWINDOWS
  151. %COPY% MWINDOWS\winhelp.hlp %DEST%\MWINDOWS
  152. %COPY% MWINDOWS\winini.txt %DEST%\MWINDOWS
  153. %COPY% MWINDOWS\winini2.txt %DEST%\MWINDOWS
  154. echo:
  155. if "%DISK%"=="2" goto END
  156.  
  157. :DISK3
  158. echo Please insert a disk in drive a:, this is Multmedia Development Kit disk #3
  159. pause
  160. if "%FORMAT%"=="y" format a:
  161.  
  162. md a:\TOOLS
  163. md a:\MSDK
  164. md a:\MSDK\DEBUG
  165. md a:\MSDK\INCLUDE
  166. md a:\MSDK\NODEBUG
  167. %COPY% MSDK\mmd2n.bat %DEST%\MSDK
  168. %COPY% MSDK\mmn2d.bat %DEST%\MSDK
  169. %COPY% MSDK\mmref.hlp %DEST%\MSDK
  170. %COPY% MSDK\mmswitch.bat %DEST%\MSDK
  171. %COPY% MSDK\DEBUG\mediaman.dll %DEST%\MSDK\DEBUG
  172. %COPY% MSDK\DEBUG\mediaman.sym %DEST%\MSDK\DEBUG
  173. %COPY% MSDK\DEBUG\mmp.dll %DEST%\MSDK\DEBUG
  174. %COPY% MSDK\DEBUG\mmp.sym %DEST%\MSDK\DEBUG
  175. %COPY% MSDK\DEBUG\mmsystem.dll %DEST%\MSDK\DEBUG
  176. %COPY% MSDK\DEBUG\mmsystem.sym %DEST%\MSDK\DEBUG
  177. %COPY% MSDK\DEBUG\wincom.dll %DEST%\MSDK\DEBUG
  178. %COPY% MSDK\DEBUG\wincom.sym %DEST%\MSDK\DEBUG
  179. %COPY% MSDK\INCLUDE\defdlg.dlg %DEST%\MSDK\INCLUDE
  180. %COPY% MSDK\INCLUDE\defdlg.h %DEST%\MSDK\INCLUDE
  181. %COPY% MSDK\INCLUDE\medbits.h %DEST%\MSDK\INCLUDE
  182. %COPY% MSDK\INCLUDE\mediaman.h %DEST%\MSDK\INCLUDE
  183. %COPY% MSDK\INCLUDE\medwave.h %DEST%\MSDK\INCLUDE
  184. %COPY% MSDK\INCLUDE\mmp.h %DEST%\MSDK\INCLUDE
  185. %COPY% MSDK\INCLUDE\mmsystem.h %DEST%\MSDK\INCLUDE
  186. %COPY% MSDK\INCLUDE\scrnsave.h %DEST%\MSDK\INCLUDE
  187. %COPY% MSDK\INCLUDE\wincom.h %DEST%\MSDK\INCLUDE
  188. %COPY% MSDK\NODEBUG\mediaman.dll %DEST%\MSDK\NODEBUG
  189. %COPY% MSDK\NODEBUG\mediaman.sym %DEST%\MSDK\NODEBUG
  190. %COPY% MSDK\NODEBUG\mmp.dll %DEST%\MSDK\NODEBUG
  191. %COPY% MSDK\NODEBUG\mmp.sym %DEST%\MSDK\NODEBUG
  192. %COPY% MSDK\NODEBUG\mmsystem.dll %DEST%\MSDK\NODEBUG
  193. %COPY% MSDK\NODEBUG\mmsystem.sym %DEST%\MSDK\NODEBUG
  194. %COPY% MSDK\NODEBUG\wincom.dll %DEST%\MSDK\NODEBUG
  195. %COPY% MSDK\NODEBUG\wincom.sym %DEST%\MSDK\NODEBUG
  196. %COPY% TOOLS\adimport.flt %DEST%\TOOLS
  197. %COPY% TOOLS\bitedit.exe %DEST%\TOOLS
  198. %COPY% TOOLS\bitedit.hlp %DEST%\TOOLS
  199. %COPY% TOOLS\cgmimp.flt %DEST%\TOOLS
  200. %COPY% TOOLS\convert.exe %DEST%\TOOLS
  201. %COPY% TOOLS\convert.hlp %DEST%\TOOLS
  202. %COPY% TOOLS\drwimp.flt %DEST%\TOOLS
  203. %COPY% TOOLS\epsimp.flt %DEST%\TOOLS
  204. %COPY% TOOLS\filewalk.exe %DEST%\TOOLS
  205. %COPY% TOOLS\filewalk.hlp %DEST%\TOOLS
  206. %COPY% TOOLS\fwthand.dll %DEST%\TOOLS
  207. %COPY% TOOLS\fwtype.dll %DEST%\TOOLS
  208. %COPY% TOOLS\hpglimp.flt %DEST%\TOOLS
  209. %COPY% TOOLS\lotusimp.flt %DEST%\TOOLS
  210. %COPY% TOOLS\medimp.ini %DEST%\TOOLS
  211. %COPY% TOOLS\medimp.mmh %DEST%\TOOLS
  212. %COPY% TOOLS\medmidi.mmh %DEST%\TOOLS
  213. %COPY% TOOLS\paledit.exe %DEST%\TOOLS
  214. %COPY% TOOLS\paledit.hlp %DEST%\TOOLS
  215. %COPY% TOOLS\standard.pal %DEST%\TOOLS
  216. %COPY% TOOLS\tiffimp.flt %DEST%\TOOLS
  217. %COPY% TOOLS\vga.pal %DEST%\TOOLS
  218. %COPY% TOOLS\waveedit.exe %DEST%\TOOLS
  219. %COPY% TOOLS\waveedit.hlp %DEST%\TOOLS
  220. %COPY% TOOLS\wrkbench.dll %DEST%\TOOLS
  221. echo:
  222. if "%DISK%"=="3" goto END
  223.  
  224. :DISK4
  225. echo Please insert a disk in drive a:, this is Multmedia Development Kit disk #4
  226. pause
  227. if "%FORMAT%"=="y" format a:
  228.  
  229. md a:\MSDK
  230. md a:\MSDK\LIB
  231. md a:\MSDK\MMSAMPLE
  232. md a:\MSDK\MMSAMPLE\GO
  233. md a:\MSDK\MMSAMPLE\GO\MEDGO
  234. md a:\MSDK\MMSAMPLE\MCITEST
  235. md a:\MSDK\MMSAMPLE\MMPLAY
  236. md a:\MSDK\MMSAMPLE\REVERSE
  237. %COPY% MSDK\LIB\mediaman.lib %DEST%\MSDK\LIB
  238. %COPY% MSDK\LIB\mmp.lib %DEST%\MSDK\LIB
  239. %COPY% MSDK\LIB\mmsystem.lib %DEST%\MSDK\LIB
  240. %COPY% MSDK\LIB\scrnsave.lib %DEST%\MSDK\LIB
  241. %COPY% MSDK\LIB\wincom.lib %DEST%\MSDK\LIB
  242. %COPY% MSDK\MMSAMPLE\sbtest.exe %DEST%\MSDK\MMSAMPLE
  243. %COPY% MSDK\MMSAMPLE\GO\about.c %DEST%\MSDK\MMSAMPLE\GO
  244. %COPY% MSDK\MMSAMPLE\GO\about.dlg %DEST%\MSDK\MMSAMPLE\GO
  245. %COPY% MSDK\MMSAMPLE\GO\board.c %DEST%\MSDK\MMSAMPLE\GO
  246. %COPY% MSDK\MMSAMPLE\GO\command.c %DEST%\MSDK\MMSAMPLE\GO
  247. %COPY% MSDK\MMSAMPLE\GO\element.c %DEST%\MSDK\MMSAMPLE\GO
  248. %COPY% MSDK\MMSAMPLE\GO\go.c %DEST%\MSDK\MMSAMPLE\GO
  249. %COPY% MSDK\MMSAMPLE\GO\go.def %DEST%\MSDK\MMSAMPLE\GO
  250. %COPY% MSDK\MMSAMPLE\GO\go.h %DEST%\MSDK\MMSAMPLE\GO
  251. %COPY% MSDK\MMSAMPLE\GO\go.ico %DEST%\MSDK\MMSAMPLE\GO
  252. %COPY% MSDK\MMSAMPLE\GO\go.rc %DEST%\MSDK\MMSAMPLE\GO
  253. %COPY% MSDK\MMSAMPLE\GO\makefile %DEST%\MSDK\MMSAMPLE\GO
  254. %COPY% MSDK\MMSAMPLE\GO\meduser.c %DEST%\MSDK\MMSAMPLE\GO
  255. %COPY% MSDK\MMSAMPLE\GO\phystype.dlg %DEST%\MSDK\MMSAMPLE\GO
  256. %COPY% MSDK\MMSAMPLE\GO\MEDGO\gohand.c %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  257. %COPY% MSDK\MMSAMPLE\GO\MEDGO\gotxhand.c %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  258. %COPY% MSDK\MMSAMPLE\GO\MEDGO\libinit.asm %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  259. %COPY% MSDK\MMSAMPLE\GO\MEDGO\makefile %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  260. %COPY% MSDK\MMSAMPLE\GO\MEDGO\medgo.c %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  261. %COPY% MSDK\MMSAMPLE\GO\MEDGO\medgo.def %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  262. %COPY% MSDK\MMSAMPLE\GO\MEDGO\medgo.h %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  263. %COPY% MSDK\MMSAMPLE\GO\MEDGO\medgo.rc %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  264. %COPY% MSDK\MMSAMPLE\GO\MEDGO\medgoi.h %DEST%\MSDK\MMSAMPLE\GO\MEDGO
  265. %COPY% MSDK\MMSAMPLE\MCITEST\edit.c %DEST%\MSDK\MMSAMPLE\MCITEST
  266. %COPY% MSDK\MMSAMPLE\MCITEST\edit.h %DEST%\MSDK\MMSAMPLE\MCITEST
  267. %COPY% MSDK\MMSAMPLE\MCITEST\makefile %DEST%\MSDK\MMSAMPLE\MCITEST
  268. %COPY% MSDK\MMSAMPLE\MCITEST\mcimain.dlg %DEST%\MSDK\MMSAMPLE\MCITEST
  269. %COPY% MSDK\MMSAMPLE\MCITEST\mcimain.h %DEST%\MSDK\MMSAMPLE\MCITEST
  270. %COPY% MSDK\MMSAMPLE\MCITEST\mcitest.c %DEST%\MSDK\MMSAMPLE\MCITEST
  271. %COPY% MSDK\MMSAMPLE\MCITEST\mcitest.def %DEST%\MSDK\MMSAMPLE\MCITEST
  272. %COPY% MSDK\MMSAMPLE\MCITEST\mcitest.h %DEST%\MSDK\MMSAMPLE\MCITEST
  273. %COPY% MSDK\MMSAMPLE\MCITEST\mcitest.ico %DEST%\MSDK\MMSAMPLE\MCITEST
  274. %COPY% MSDK\MMSAMPLE\MCITEST\mcitest.rc %DEST%\MSDK\MMSAMPLE\MCITEST
  275. %COPY% MSDK\MMSAMPLE\MMPLAY\makefile %DEST%\MSDK\MMSAMPLE\MMPLAY
  276. %COPY% MSDK\MMSAMPLE\MMPLAY\mmplay.c %DEST%\MSDK\MMSAMPLE\MMPLAY
  277. %COPY% MSDK\MMSAMPLE\MMPLAY\mmplay.def %DEST%\MSDK\MMSAMPLE\MMPLAY
  278. %COPY% MSDK\MMSAMPLE\MMPLAY\mmplay.h %DEST%\MSDK\MMSAMPLE\MMPLAY
  279. %COPY% MSDK\MMSAMPLE\MMPLAY\mmplay.ico %DEST%\MSDK\MMSAMPLE\MMPLAY
  280. %COPY% MSDK\MMSAMPLE\MMPLAY\mmplay.rc %DEST%\MSDK\MMSAMPLE\MMPLAY
  281. %COPY% MSDK\MMSAMPLE\REVERSE\init.c %DEST%\MSDK\MMSAMPLE\REVERSE
  282. %COPY% MSDK\MMSAMPLE\REVERSE\makefile %DEST%\MSDK\MMSAMPLE\REVERSE
  283. %COPY% MSDK\MMSAMPLE\REVERSE\reverse.c %DEST%\MSDK\MMSAMPLE\REVERSE
  284. %COPY% MSDK\MMSAMPLE\REVERSE\reverse.def %DEST%\MSDK\MMSAMPLE\REVERSE
  285. %COPY% MSDK\MMSAMPLE\REVERSE\reverse.h %DEST%\MSDK\MMSAMPLE\REVERSE
  286. %COPY% MSDK\MMSAMPLE\REVERSE\reverse.ico %DEST%\MSDK\MMSAMPLE\REVERSE
  287. %COPY% MSDK\MMSAMPLE\REVERSE\reverse.rc %DEST%\MSDK\MMSAMPLE\REVERSE
  288. echo:
  289. if "%DISK%"=="4" goto END
  290.  
  291. :END
  292. set COPY=
  293. set DEST=
  294. set DISK=
  295. set FORMAT=
  296. set NUM_DISKS=
  297. echo ** MDK floppy disk batch file complete **
  298.