Run a Surfer script from the command line

Surfer scripts can be run from the command line by first defining the location of the Scripter application and then defining the name and location of the script you want to run.

The syntax required to run a script via the command line is:   

"<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.

For example:

“c:\program files\golden software\surfer 16\scripter\scripter.exe" -x "\program files\golden software\surfer 16\samples\scripts\BaseMap.bas"


Updated October 2021

Was this article helpful?
6 out of 9 found this helpful



Please sign in to leave a comment.