6.7.3.2 Default Template Parameters

The table below lists the reserved template parameters to be used by any template.

Note: Template parameters are case-sensitive.
Table 6-5. Template Parameters
ParameterDescription
$itemname$The name provided by the user in the Add New Item dialog box
$machinename$The current computer name
$projectname$ The name provided by the user in the New Project dialog box
$registeredorganization$ The registry key value from HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization
$safeitemname$The name provided by the user in the Add New Item dialog box, with all unsafe characters and spaces, removed
$safeprojectname$The name provided by the user in the New Project dialog box, with all unsafe characters and spaces, removed
$time$ The current time in the format DD/MM/YYYY 00:00:00
$userdomain$ The current user domain
$username$ The current username
$year$ The current year in the format YYYY
$guid[1-10]$Use a GUID to replace the project GUID in a project file. You can specify up to 10 unique GUIDs (for example, guid1).