Global Mapper Pro Coming Soon

Unwanted character in file names

Terry333Terry333 Global Mapper UserPosts: 11Trusted User
edited January 2010 in Technical Support
I am using a GM script to make DeLorme format text files from shp files. The script runs fine but the output text file names always begin with the underscore ( _ ) character, i.e. _myfile.txt. Is there a way to name the files using my ATTR_LIST names without having the leading underscore. I have included my script file in case I have missed something in the scripting language reference.

// Export each feature to a Delorme file
EXPORT_VECTOR FILENAME="C:\MYPATH\.TXT" \
TYPE=DELORME_DRAWING \
SPLIT_BY_ATTR=YES \
FILENAME_ATTR_LIST="ATTRIB1,ATTRIB2,ATTRIB3" \
FILENAME_INCLUDE_ATTR_NAME=NO

Thanks,
Terry

Comments

Sign In or Register to comment.