REM create a file with the tracks REM ATENTION, the programs gawk.exe and cat.exe must be in the Windows path or in the same directory as the data files. REM Do not forget to replace the extension to the appropriate to files in use. This example is made for the mb59 format. dir /B *.mb59 | gawk "{printf(\"echo ^^^> ^^^%s ^^^-W1,%d/%d/%d ^> %s.xy\nmblist -OXY -I %s ^| gmtsimplify -T50e ^>^> %s.xy\n\",$1,rand()*255,rand()*255,rand()*255,$1,$1,$1)}" > trac.bat REM Next run the "trac.bat" batch file and after do cat *.xy > traca.dat