REM  BUILD.BAT  -  Construct and populate the file structure necessary to
REM                run MAPIT 2 from files in a single directory.
REM
md dbqs
move *.dbq dbqs
move city_loc.dbf dbqs          
move countryl.dbf dbqs         
move countryl.mdx dbqs         
REM ---------------------------------------------------------
md examples
cd examples
md GEOCODE
md GEOTOENT
md GEOTOMP1
md GPS
md NETANA
md PEN_PLOT
md SIMULATE
REM EXAMPLES\GEOCODE
move ..\demo.def  geocode
move ..\min.def   geocode
move ..\xlist.dbf geocode
move ..\xlist.mdx geocode
REM EXAMPLES\GEOTOENT
move ..\temp.dbf  geotoent
move ..\test4.def geotoent
REM EXAMPLES\GEOTOMP1
move ..\capitals.dbf geotomp1
move ..\cards.dbf    geotomp1
move ..\test.def     geotomp1
move ..\test1.def    geotomp1
move ..\test2.def    geotomp1
move ..\test3.def    geotomp1
REM EXAMPLES\GPS
move ..\combined.mp3 gps
move ..\garmin.trk   gps
move ..\garmin.wpt   gps
move ..\gps.log      gps
move ..\gps1.log     gps
move ..\gps2.nme     gps
move ..\gps3.nme     gps
move ..\special.pt   gps
REM EXAMPLES\NETANA
move ..\citycaps.dbf netana
move ..\citycaps.mdx netana
move ..\citycaps.mp1 netana
move ..\citycaps.mp3 netana
REM EXAMPLES\PEN_PLOT
move ..\dashed.pen   pen_plot
move ..\linetype.mp3 pen_plot
REM EXAMPLES\SIMULATE
move ..\*.sim simulate
cd ..
REM ---------------------------------------------------------
REM  Last because of mass *.dbf moves.
md dbfs
move *.dbf dbfs
move *.dbt dbfs
move *.mdx dbfs
REM  Correct for moving too much.
move dbfs\mypins.* .
move dbfs\scantabl.* .
