Wildcard in directory import script

MorganRS
Global Mapper UserTrusted User
I'm trying to have a script import directories and require a wildcard because some have different prefixes, but Global Mapper doesn't seem to recognize the wildcard. Am I doing something wrong? Here is the section of my script:
I've also tried it as:
IMPORT_DIR_TREE DIRECTORY="G:\Data_State\%state%\Administrative_Boundaries\*complete" FILENAME_MASKS="*.SHP"
I've also tried it as:
IMPORT_DIR_TREE DIRECTORY="G:\Data_State\%state%\Administrative_Boundaries\?complete" FILENAME_MASKS="*.SHP"I'm using 17.2
Tagged:
Answers
-
Hello,
The wildcard characters can only be used in the FILENAME_MASKS parameter, not in the DIRECTORY parameter.
Cheers,
Bob
Categories
- 12.5K All Categories
- 5.5K Features Discussion
- 314 Downloading Imagery
- 1.3K Elevation Data
- 377 Georeferencing Imagery Discussion
- 611 GM Script Language
- 50 User Scripts
- 112 GPS Features
- 397 Projection Questions
- 803 Raster Data
- 1.3K Vector Data
- 6.5K Support
- 161 Announcement and News
- 893 Bug Report
- 557 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 542 Other Discussion
- 128 GIS Data Sources
- 26 Global Mapper Showcase
- 229 How I use Global Mapper
- 104 Global Mapper Forum Website