This article explains how you can run a Surfer script from the command line.
You can run a script via the command line with this syntax:
"<Scripter path>" -x "filename.bas"
The –x means execute, and quotes are necessary around the file path to the Scripter.exe file and the BAS file.
“c:\program files\golden software\surfer 15\scripter\scripter.exe" -x "\program files\golden software\surfer 15\samples\scripts\BaseMap.bas"
Updated September 27, 2017