About system variables


Article ID: 180437


Updated On:


Workspace Virtualization (formerly SVS)




About system variables

Many applications have specific environment settings for file paths, paths in registry values, MSI paths, and so forth. To make Virtual Software Packages (VSPs) portable across computers, Workspace Virtualization provides variables for many application settings and data layer properties. Workspace Virtualization uses common system variables to substitute for well-known locations on a Microsoft Windows based installation, such as WINDIR for the Windows folder. That provides seamless compatibility with any computers that do not use the standard folder structure. For example, a computer where the My Documents folder is moved standard folders are renamed. You can view the variables on the Variables tab of the Edit Layer dialog box.

See Viewing variables used in a virtual software layer

Workspace Virtualization uses the following types of variables that are set as environment variables when a layer is active:

System variables

Static and loaded at boot time. Examples:

WINDIR = C:\Windows


User variables

Per user and loaded when the user logs on. Examples:

DESKTOP = C:\Documents and Settings\User\Desktop

USERPROFILE = C:\Documents and Settings\User

Workspace Virtualization uses the following tags to denote variables:

  • [_B_] = Begin tag

  • [_E_] = End tag

  • [_CS_] = Convert to short path

  • [_MSI_] = Convert to MSI path