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 14\scripter\scripter.exe" -x "c:\surfer\scripts\BreakApart.bas"
Updated February 14, 2017