SpatialAnalyzer has a series of command-line arguments that allow you to automate some tasks when launching the program:
Combinations of these arguments may be executed at the same time. Quotes are required around the elements (filenames, instrument names, and object names) if they contain spaces.
Command-line arguments were traditionally used when running a program from the DOS (command prompt) window. Now that graphical operating systems like Windows have become standard, command-line arguments are usually entered by use of a shortcut icon. Regardless, they can still be executed from the Windows command prompt.
To Use Command-Line Arguments from the Windows Command Prompt:
In the windows search box, type cmd and press Enter.
In the resulting window, navigate to the SpatialAnalyzer install directory by typing cd {PATH}, where {PATH} is the path to the SA install directory. For example, cd C:\Program Files (x86)\New River Kinematics\SpatialAnalyzer 2024.2.0923.4\x64\ Press Enter.
Type “Spatial Analyzer64” {ARGUMENTS}, where {ARGUMENTS} includes one or more of the arguments listed above. Press Enter.
SA should launch, using the parameters that you specified in the arguments.
To Use Command-Line Arguments via a Shortcut Icon:
Create a shortcut for the SpatialAnalyzer program (C:\Program Files (x86)\New River Kinematics\SpatialAnalyzer 2024.2.0923.4\x64\Spatial Analyzer64.exe).
Right-click on the icon and choose Properties.
In the Properties dialog, locate the Target field, add a space at the end of the text in this field, then add the arguments as specified above. When finished, click the OK button.
Double-click the icon to start SA with the specified parameters.