SecureCRT supports cross-platform substitutions for well-known paths. In other words, if any path stored in a field within a SecureCRT global or session configuration begins with a well-known path, the value is saved to the configuration in substitution form rather than in literal form. This means that if you choose to have your log files stored in a folder that descends from one of these well-known locations, it will be cross-platform compatible.
Here’s a list of the well-known paths that are saved in substitution format automatically by SecureCRT when the value is written to the configuration (and converted to the actual path on the system when the value is read from the configuration):
${VDS_CONFIG_PATH}
SecureCRT’s configuration folder path as defined in the Global Options / Configuration Paths category. If SecureCRT’s configuration path is set to “C:\Users\user\AppData\VanDyke\Config“, any file-related setting that contains this path will result in the path being substituted with ${VDS_CONFIG_PATH} when saved to the configuration.
Example: Log file in GUI on Windows is set to:
C:\Users\user\AppData\VanDyke\Config\Logs\%S\%Y%M%D_%h%m%s_%t_Log.txtWhen written to the configuration, the above becomes:
${VDS_CONFIG_PATH}\Logs\%S\%Y%M%D_%h%m%s_%t_Log.txtThis means that if this session configuration is loaded on a macOS machine where the configuration folder is set to:
/Users/User/Library/Application Support/VanDyke/SecureCRT/Configthe ${VDS_CONFIG_PATH} is automatically converted to the /Users/User/Lib…/Config path.
${VDS_INSTALL_PATH}
The location where the SecureCRT application lives.
${VDS_USER_DATA_PATH}
The location to the user’s “My Documents” or “Documents” folder. In this and other cases, you can combine a substitution with relativism (e.g., ${VDS_USER_DATA_PATH}\..\..\folderB\etc\).
${VDS_SSH_DATA_PATH}
The location of user-specific SSH data (on Windows, this is My Documents; on macOS/Linux, it’s the user’s .ssh folder).
Note: All of the above substitutions are handled automatically. When you look in the Global Options or Session Options dialogs at a field where any component of a path represents one of the above locations, you’ll actually see the resolved location, not the substitution path. If you look inside the configuration file, you’ll see the substitution path rather than the actual paths.















