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 installw.bat c:\bindist
copy installw.bat c:\bindist\exe
REM
REM executables
REM
copy \util\xchoice.exe c:\bindist
copy \tools\bin\builtins.mak c:\bindist
copy \tools\bin\valx.hlp c:\bindist
copy \tools\bin\win32\cc386.exe       c:\bindist\cc386.exe
copy \tools\bin\win32\ccide.exe       c:\bindist\ccide.exe
copy \tools\bin\win32\cl386.exe c:\bindist\cl386.exe
copy \tools\bin\win32\valx.exe c:\bindist\valx.exe
copy \tools\bin\win32\xlib.exe c:\bindist\xlib.exe
copy \tools\bin\win32\itouch.exe c:\bindist\itouch.exe
copy \tools\bin\win32\imake.exe c:\bindist\imake.exe
copy \tools\bin\win32\nasm.exe C:\bindist\nasm.exe
copy \tools\bin\win32\mkliblst.exe C:\bindist\mkliblst.exe
copy \tools\bin\win32\mk386.exe c:\bindist\mk386.exe
copy \tools\bin\win32\xrc.exe c:\bindist\xrc.exe
copy \tools\bin\win32\grep.exe c:\bindist\grep.exe
copy \tools\bin\pmodew.exe c:\bindist
copy clibs\stdinc\*.* c:\bindist
copy clibs\wininc\*.* c:\bindist
copy clibs\wininc\win32\*.* c:\bindist
del C:\bindist\llp.h C:\bindist\libp.h
copy clibs\object\c0*.obj c:\bindist
copy clibs\object\wildargs.obj c:\bindist
copy clibs\object\cl*.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\*.asm c:\bindist
copy clibs\win32\386\*.asm c:\bindist
copy clibs\msdos\386\*.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\example.mak c:\bindist

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 win.txt c:\bindist\win.txt
copy install.txt c:\bindist
copy license.txt 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
copy \tools\cc\sdoc\*.doc c:\bindist\*.sdc
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\win32\mkliblst.* C:\bindist\exe
copy clibs\msdos\pmw133\pmodew.exe c:\bindist\exe
copy clibs\stdinc\*.* c:\bindist\exe
copy clibs\wininc\*.* c:\bindist
copy clibs\wininc\win32\*.* c:\bindist
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