Troubles with scripts

Hello! When i use this script i have no result:

GLOBAL_MAPPER_SCRIPT VERSION=1.00
UNLOAD_ALL
DIR_LOOP_START DIRECTORY="D\WORK" FILENAME_MASKS="1_400.tif" RECURSE_DIR="YES"
IMPORT FILENAME="%FNAME_W_DIR%"
EXPORT_WEB FILENAME="D:\WORK\%PARENT_DIR%\Maps\1.htm" TYPE="OSM" MAX_ZOOM_LEVEL="10" NUM_ZOOM_LEVELS="4"
UNLOAD_ALL
DIR_LOOP_END

Every try i see message:
Removed all loaded overlays.
Starting loop over all files in directory...
WARNING: No files matching the specified mask were found under the specified directory. The loop will be skipped.
Loop over files in directory completed.

But files in subfolders exists.Why?


Best Answer

  • MykleMykle Global Mapper User Posts: 452
    Answer ✓
    If DIR_LOOP_START DIRECTORY="D\WORK"
    change it to "D:\WORK"

    Does this change make any difference?

Answers

Sign In or Register to comment.