Export with same filename for each load file .

Hi all, 

I want to export the kml file form shapefile . 
First , i use the batch convert to that ,
But the function can setup the descriptions . 

So , I use the script 
==
GLOBAL_MAPPER_SCRIPT VERSION="1.00"
  

LAYER_LOOP_START FILENAME="*.shp"

SET_LAYER_OPTIONS FILENAME="%LAYER_FNAME%" 

EXPORT_VECTOR TYPE=KML FILENAME="D:\GM_TEST\%LAYER_FNAME%.kml" KML_HTML_DESC_TEXT="<table border=1 cellpadding=3  cellspacing=0 style='FONT-SIZE: 11px'><tr><td width='70' nowrap='nowrap'>RoadNUM</td><td width='100'>%ROADNUM%</td></tr><tr><td width='70' nowrap='nowrap'>RoadNAME</td><td width='100'>%COUNTY%%ROADNAME%%RDNAMESECT%%RDNAMELANE%%RDNAMENON%%BRITUNNAME%</td></tr><tr><td width='70' nowrap='nowrap'>RoadALIAS</td><td width='100'>%ROADALIAS%</td></tr></table>"

LAYER_LOOP_END
===

It work when i just load one file to convert . 
but when I load many file . i will export to many same file with different name .
Is it possible to export each kml with the same name to export file ? 

How do I to setup the filename ? 

Thanks 

Ben 
Tagged:
Sign In or Register to comment.