Some fields in a profile support token replacement. Tokens allow you to inject information about the profile or environment into program command line, or a destination path. Tokens consist of a keyword surrounded by delimiters - either curly braces { }
for CopyTools tokens (such as {UserName}
, or the percentage sign %
for environment variables (such as %windir%
).
For example, if the current date is the 4th October 2013 and CopyTools is running on a computer named JUPITER, then the value \\hades\Backups\{ComputerName}\Luminitix\{Year}{MonthPadded}{DayPadded}.zip
becomes \\hades\Backups\JUPITER\Luminitix\20131004.zip
Currently, the following fields support tokens
Token | Description |
---|---|
{ComputerName} | The name of the computer running the profile |
{Day} | The number of the current day this month |
{DayName} | The full name of the current day |
{DayNameShort} | The short name of the current day |
{DayOfWeek} | The number of the current week day |
{DayOfYear} | The number of the current day this year |
{DayPadded} | The number of the current day this month padded so that it is always two digits |
{Hour} | The current hour |
{Minute} | The current minute |
{Month} | The number of the current month |
{MonthName} | The full name of the current month |
{MonthNameShort} | The short name of the current month |
{MonthNamePadded} | The number the current month padded so that is is always two digits |
{Second} | The current second |
{Time} | The current time in HHmm format. |
{UserName} | The name of the user running the profile |
{Year} | The current year in four digits |