# OMrun Variables

### OMrun Variables #OMrun\[VariableName]\#

OMrun internal variables are used to pass internal path and business system information to the parameter list of a Design Test Object.\
This allows an installation of a business system on any machine and disk without updating the environment variables.

### Use variables #OMrun\[VariableName]\#

The values of the OMrun variables in this example below are used in the OMrun self test.

| OMrun Variable Name   | Variable Example Value                                                  |
| --------------------- | ----------------------------------------------------------------------- |
| #OMrunUserDataPath#   | C:\Users\User\Name\AppData\Roaming\OMIS\OMrun                           |
| #OMrunProjectPath#    | C:\Users\UserName \AppData\Roaming\Omis\OMrun\Example                   |
| #OMrunBuiltInTest#    | C:\Program Files\OMIS\OMrun\BuiltInTests                                |
| #OMrunMigration#      | C:\Program Files\OMIS\OMrun\DataMigration                               |
| #OMrunTestDB#         | C:\Users\UserName\AppData\Roaming\OMIS\OMrun\Database\OMrunTestData.sdf |
| #OMrunVersion#        | 5.0.0.8                                                                 |
| #OMrunBusinessSystem# | OMrun                                                                   |
| #OMrunEnvironment#    | Test1                                                                   |

### Windows environment variables

You can also use Windows system-/user variables. → (%VariableName%)

**Important**: please **restart OMrun** to get the value of the new variable loaded and accessible.
