Skip to content

Commit

Permalink
Merge pull request #25 from isaak654/patch-4
Browse files Browse the repository at this point in the history
Update ExpandableVariables.md
  • Loading branch information
DavidXanatos committed Jun 2, 2021
2 parents 890b7ef + 2d7d2e5 commit 288db10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Content/ExpandableVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ The following table lists the variables that Sandboxie recognizes.
| temp <br> tmp | Location of the Windows temporary files folder as defined in the registry key: <br> HKEY_CURRENT_USER\Environment. <br> Example: C:\Windows\Temp |
| Personal <br> AppData <br> Local AppData <br> Favorites <br> And more | Locations of user-account and system folders as are known to Windows Explorer. For more information, see [Shell Folders](ShellFolders.md). |

**Template Variables**
### Template Variables

Global templates are part of the installation of Sandboxie and reside in the file _Templates.ini_ in the Sandboxie installation folder. Additional local templates may be added to [Sandboxie Ini](SandboxieIni.md). Any template may reference template variables in the form _%Tmpl.SomeVariableName%_. These variable names are not built into the core of Sandboxie. They must be defined in _Templates.ini_ or _Sandboxie.ini_ in a [TemplateSettings] section.

**Overriding Variables**
### Overriding Variables

Any of the variables in the table above, including any of the [Shell Folders](ShellFolders.md) variable and any template variables, can be overridden by the [Sandboxie Ini](SandboxieIni.md) configuration file. To override a variable, add a setting with an **Ovr.** prefix.

Expand All @@ -57,7 +57,7 @@ For example:

When a variable is overriden in this way, its expanded value will always match the value specified in the configuration file.

**Registry Fallbacks**
### Registry Fallbacks

Some of the variables in the table above are taken from the system registry. Those variables are _ProgramFiles_ and any other variable that appears below _ProgramFiles_ in the table above. For these variables, it is possible to specify "fallback" values in the [Sandboxie Ini](SandboxieIni.md) configuration file. To specify a fallback for a variable, add a setting with a **Reg.** prefix.

Expand Down

0 comments on commit 288db10

Please sign in to comment.