Preferences File
The preferences file serves as a method by which preferences can be consistently assigned values, with no special work to perform when a program is invoked. No work is required, because the preferences file is automatically loaded and scanned by all Riverbed analysis software. The preferences file has the same syntax as a normal environment file; it just has a special name (opnet-<rel>.prefs) and a special location ($HOME/op_admin under Linux, %HOMEDRIVE%\%HOMEPATH%\op_admin under Windows) that identifies it as the preferences file. You can change the contents of the preferences file by editing it directly or via the Preferences menu item on the Edit menu.
Selected portions of a preferences file are shown in the following figure.
Figure 8: Sample Preferences File
# Riverbed preferences file
install_dir : "C:\\PROGRA~1\\Riverbed"
mod_dirs : "c:\\users\\dtaylor\\op_models",
"C:\\PROGRA~1\\Riverbed\\18.6\\sys\\lib",
"C:\\PROGRA~1\\Riverbed\\18.6\\models\\std\\base"
reports_dir : "c:\\users\\dtaylor\\op_reports"
arch_prog : arch_unix
repositories : stdmod
product_options : ace,
netdoc,
wireless