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
copy dll1 .
\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  
copy dll2 .
\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 stkservr.dll dll3     
copy dll3 .
\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 dll4 .
\tools\bc\bin\tdstrip dll4\*.dll
copy bc30rtl.dll dll4
copy tclass31.dll dll4
copy tklib.dll 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 readme.txt disk1
copy include.me disk1

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

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

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

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

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

rem *** end ***
