REM DELETE directories
REM
deltree /y \bindist
deltree /y \cc386
REM
REM CREATE directories
REM
mkdir c:\bindist
mkdir c:\bindist\exe
mkdir c:\bindist\doc
REM
REM PUT install.bat
REM
copy install.bat c:\bindist\install.bat
copy install.bat c:\bindist\exe\install.bat
REM
REM executables
REM
copy \util\xchoice.exe c:\bindist
copy \tools\bin\builtins.mak c:\bindist
copy \tools\cc\valx\valx.hlp c:\bindist
copy \tools\bin\cc386.exe	c:\bindist\cc386.exe
copy \tools\bin\cl386.exe c:\bindist\cl386.exe
copy \tools\bin\valx.exe c:\bindist\valx.exe
copy \tools\bin\xlib.exe c:\bindist\xlib.exe
copy \tools\bin\itouch.exe c:\bindist\itouch.exe
copy \tools\bin\imake.exe c:\bindist\imake.exe
copy \tools\bin\nasm.exe C:\bindist\nasm.exe
copy \tools\bin\mkliblst.exe C:\bindist\mkliblst.exe
copy \tools\bin\mk386.exe c:\bindist\mk386.exe
copy \tools\bin\grep.exe c:\bindist\grep.exe
copy \tools\bin\pmodew.exe c:\bindist
copy clibs\stdinc\*.* c:\bindist
copy clibs\stdinc\sys\*.* c:\bindist
del C:\bindist\llp.h C:\bindist\libp.h
copy clibs\object\c0dos.obj c:\bindist
copy clibs\object\c0dosd.obj c:\bindist
copy clibs\object\c0dosw.obj c:\bindist
copy clibs\object\wildargd.obj c:\bindist
copy clibs\object\cldos.lib c:\bindist
copy \tools\cc\lib\4gstub.exe c:\bindist
copy \tools\cc\lib\4gs.exe c:\bindist
copy \tools\cc\lib\4gsq.exe c:\bindist
copy \tools\cc\lib\wdosxle.exe c:\bindist
copy \tools\cc\lib\zrdx.exe c:\bindist
copy \tools\cc\lib\zrxsetup.exe c:\bindist
copy \tools\cc\lib\cwstub.exe c:\bindist
copy clibs\msdos\386\c0*.asm c:\bindist
copy clibs\msdos\386\c0*.nas c:\bindist
copy \tools\bin\standard.mac C:\bindist\standard.mac
copy \tools\cc\examples\*.c c:\bindist
copy \tools\cc\examples\example.txt c:\bindist
copy \tools\cc\examples\example.bat c:\bindist
copy \tools\cc\examples\makefile c:\bindist
copy \tools\cc\examples\dos\*.c c:\bindist
copy \tools\cc\examples\dos\*.mak c:\bindist
copy \tools\cc\examples\dos\*.bat c:\bindist
del \bindist\win*.h
del \bindist\commctrl.h

REM docs
REM
copy clibs\msdos\pmw133\pmodew.doc c:\bindist
copy clibs\msdos\pmode308\pmode.doc c:\bindist\pmode308.doc
copy nasm097\licence c:\bindist\nasm.lic
copy nasm097\doc\nasmdoc.txt c:\bindist\nasm.doc
copy dos.txt c:\bindist\readme.txt
copy relnotes.doc c:\bindist\relnotes.doc
copy install.txt c:\bindist
copy license.txt c:\bindist
copy copying c:\bindist
copy *.doc c:\bindist

copy ..\man\imake.txt c:\bindist\imake.doc
copy ..\man\lib.txt c:\bindist\xlib.doc
copy cl_49\cl386e.txt c:\bindist\cl386e.doc
copy mk_49\cl&mk386.txt c:\bindist\cl&mk386.doc

REM spanish docs
REM
rem copy \tools\cc\sdoc\*.doc c:\bindist\*.sdc
rem copy \tools\cc\sdoc\*.txt c:\bindist\*.stx

itouch \bindist\*.*
REM
REM secondary executables
copy \util\xchoice.exe c:\bindist\exe
copy \tools\cc\examples\*.c c:\bindist\exe
copy \tools\cc\examples\example.txt c:\bindist\exe
copy \tools\cc\examples\example.bat c:\bindist\exe
copy \tools\cc\examples\example.mak c:\bindist\exe
copy \tools\bin\valx.hlp c:\bindist\exe
copy \bindist\*.exe \bindist\exe
copy \tools\bin\builtins.mak c:\bindist\exe
copy \tools\bin\mkliblst.* C:\bindist\exe
copy clibs\msdos\pmw133\pmodew.exe c:\bindist\exe
copy clibs\stdinc\*.* c:\bindist\exe
del C:\bindist\exe\llp.h C:\bindist\exe\libp.h
copy clibs\object\c0*.obj c:\bindist\exe
copy clibs\object\cl*.lib c:\bindist\exe
copy \tools\cc\lib\4gstub.exe c:\bindist\exe
copy \tools\cc\lib\4gs.exe c:\bindist\exe
copy \tools\cc\lib\4gsq.exe c:\bindist\exe
copy \tools\cc\lib\wdosxle.exe c:\bindist\exe
copy \tools\cc\lib\zrdx.exe c:\bindist\exe
copy \tools\cc\lib\zrxsetup.exe c:\bindist\exe
copy \tools\cc\lib\cwstub.exe C:\bindist\exe
copy clibs\msdos\386\*.asm c:\bindist\exe
copy clibs\msdos\386\*.nas c:\bindist\exe
copy \tools\bin\standard.mac C:\bindist\exe\standard.mac

REM
REM secondary docs
REM
copy clibs\msdos\pmw133\pmodew.doc c:\bindist\doc
copy clibs\msdos\pmode308\pmode.doc c:\bindist\doc\pmode308.doc
copy nasm097\licence c:\bindist\doc\nasm.lic
copy nasm097\doc\nasmdoc.txt c:\bindist\doc\nasm.doc
copy dos.txt c:\bindist\doc\readme.txt
copy install.txt c:\bindist\doc
copy license.txt c:\bindist\doc
copy *.doc c:\bindist\doc

copy ..\man\imake.txt c:\bindist\doc\imake.doc
copy ..\man\lib.txt c:\bindist\doc\xlib.doc
copy cl_49\cl386e.txt c:\bindist\doc\cl386e.doc
copy mk_49\cl&mk386.txt c:\bindist\doc\cl&mk386.doc