rem  *** create temporary working directory ***
mkdir cfg
mkdir dll1
mkdir dll2
mkdir dll3
mkdir dll4
mkdir samp186
mkdir teknotes

rem *** create directories for release diskettes ***
mkdir disk1
mkdir disk2

rem ** copy files to subdirectory for compression ***
copy addr.dll dll1
copy bkptexec.dll dll1     
copy bkroot.dll dll1  
copy cliulib.dll dll1       
copy cpu.dll dll1       
copy bwcc.dll dll1
copy dewcc.dll dll1
copy galloc.dll dll1
copy owl31.dll dll1
copy sds2abi.dll dll1
copy winsys.dll dll1
copy wspar.dll dll1
s:\tools\bc\bin\tdstrip dll1\*.dll

copy dasm86.dll dll2           
copy enlib.dll dll2           
copy errtext.dll dll2
copy event.dll dll2           
copy evttmplt.dll dll2        
copy ld695.dll dll2    
copy malloc.dll dll2  
copy abi186.dll dll2
copy main186.bin dll2  
s:\tools\bc\bin\tdstrip dll2\*.dll

copy map.dll dll3       
copy mem.dll dll3       
copy peri.dll dll3     
copy proc.dll dll3     
copy pvtest.dll dll3         
copy rdwr.dll dll3           
copy sdserver.dll dll3
copy loader.dll dll3 
copy srec.dll dll3      
copy omf86.dll dll3   
copy omf386.dll dll3 
copy inhex.dll dll3
copy stkservr.dll dll3     
copy diagnost.bin dll3  
s:\tools\bc\bin\tdstrip dll3\*.dll


copy muscroll.dll dll4
copy symbl.dll dll4
copy trace.dll dll4   
copy trig.dll dll4            
copy varservr.dll dll4       
copy wscom.dll dll4
copy pvtask.dll dll4
copy sds2abi.dll dll4
copy loaders.ini dll4
copy bc30rtl.dll dll4
copy tclass31.dll dll4
copy tklib.dll dll4
copy spa.dll dll4
s:\tools\bc\bin\tdstrip dll4\*.dll
copy mpset.exe dll4

copy samp186\*.* samp186

copy teknote.1 teknotes
copy teknote.2 teknotes
copy teknote.3 teknotes
copy teknote.sum teknotes

rem ** start copy of all the files to final release disk1 ***
copy install.ins disk1
copy readme.txt disk1
copy include.me disk1

\tbird\mtat2\install\compress mp186.exe disk1\mp186.ex$
\tbird\mtat2\install\compress mp186.ima disk1\mp186.im$
\tbird\mtat2\install\compress pwrviews.hlp disk1\pwrviews.hl$

copy *.cfg cfg
copy *.pcf cfg
\tbird\mtat2\install\compress cfg\*.* disk1\cfg.li$

\tbird\mtat2\install\compress dll1\*.* disk1\dll1.li$
\tbird\mtat2\install\compress dll2\*.* disk1\dll2.li$

rem *** disk 2 contains remaining dlls, samples, .ini and flash ***
\tbird\mtat2\install\compress dll3\*.* disk2\dll3.li$
\tbird\mtat2\install\compress dll4\*.* disk2\dll4.li$
\tbird\mtat2\install\compress samp186\*.* disk2\samp186.li$
\tbird\mtat2\install\compress teknotes\*.* disk2\teknotes.li$
copy mp186.ini disk2

rem ** remove all the temporary working directory
rem rm -rf cfg dll1 dll2 dll3 dll4 samp186 teknotes

rem *** end ***
