Sensory Answers Sensory Software International Ltd

File location placeholders in The Grid 2

The Grid 2 allows you to use “placeholders” in the path names specified.  This is useful when specifying the location of applications with the “Run a program” command or if you wish to specify the location of your Users folder.

The placeholders refer to special folders that are created by Windows.  The names of these folders may be different according to the version of Windows that you are using and/or the language that Windows is installed in.  Using placeholders ensures that the correct path name is always used.

Placeholders must be typed with a percent (%) sign before and after the placeholder, with no spaces.  The available placeholders are listed here:

  • %COMMONDOCUMENTS%
    The Public Documents folder. A typical path on Vista is C:\Users\Public\Documents,
    and XP C:\Documents and Settings\All Users\Documents\
  • %PROGRAMFILES%      
    The Program Files folder. A typical path is C:\Program Files.
  • %SENSORYSOFTWARE%   
    The sensory folder
  • %GRIDUSERS%         
    The folder containing all The Grid 2 users
  • %CURRENTGRIDUSER%
    The user folder for the user currently active in The Grid 2
  • %MYDOCUMENTS%       
    The virtual folder representing the My Documents desktop item.
  • %DESKTOP%           
    The virtual folder representing the Windows desktop, the root of the namespace.
  • %WINDIR%            
    Refers to the Windows folder located on the system drive.
  • %SYSTEM%            
    Refers to %WINDIR%\system32.
  • %ALLUSERSAPPDATA%   
    The file system directory containing application data for all users. A typical path is C:\Documents and Settings\All Users\Application Data.
  • %COMMONPROGRAMFILES%
    A folder for components that are shared across applications. A typical path is C:\Program Files\Common.
  • %APPDATA%           
    The file system directory that serves as a common repository for application-specific data. A typical path is C:\Documents and Settings\username\Application Data.
  • %TEMP%              
    The temporary folder on the computer. For Windows XP, a typical path is %USERPROFILE%\Local Settings\Temp. For Windows Vista, a typical path is %USERPROFILE%\AppData\Local\Temp.
  • %PROFILE%           
    The user's profile folder. A typical path is C:\Documents and Settings\username. Applications should not create files or folders at this level; they should put their data under the locations referred to by CSIDL_APPDATA or CSIDL_LOCAL_APPDATA.