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 16\scripter\scripter.exe" -x "\program files\golden software\surfer 16\samples\scripts\BaseMap.bas"
Updated October 30, 2018