How to set a value in a script for a CLI input

DiscoveryDiscovery Global Mapper UserPosts: 12

Hi All, I'm trying to pass variables via command line but am not sure how to set it in the script. Is it done with a prompt?


CLI: global_mapper.exe c:\temp\openshape.gms -WHICHSHAPE "test.shp"


Script:

GLOBAL_MAPPER_SCRIPT VERSION="1.00"

DEFINE_VAR NAME="WHICHSHAPE" VALUE="?"

IMPORT FILENAME="c:\temp\%WHICHSHAPE%"

......

Sign In or Register to comment.