Global Mapper v25.0

load gmw failed

lin Global Mapper User
edited November 2013 in SDK
when im trying to load the gmw file with GM_LoadLayerList OR GM_RunScript, it return script error because the import path is not found. when i'm deleting the import command from the gmw file it works.
why cant it load just the other layers like if im opening it in global mapper and when i need to give the path for loading some layer i click cancel, and its load the other layers.
thanks alot.