System Macro Values

Property Description
$(Date)
$(Date)  – String
Day Month Year e.g. 21 June 2011.
$(DateDay)
$(DateDay)  – String
Year e.g. 2011.
$(DateMonth)
$(DateMonth)  – String
Month e.g. June.
$(DateYear)
$(DateYear)  – String
Day e.g. 21.
$(DesktopDir)
$(DesktopDir)  – String
Path to users desktop directory e.g. c:/users/mpj/Desktop.
$(DocumentsDir)
$(DocumentsDir)  – String
Path to users documents directory e.g. c:/users/mpj/Documents.
$(HomeDir)
$(HomeDir)  – String
Path to users home directory e.g. c:/users/mpj.
$(HostArch)
$(HostArch)  – String
The CPU architecture that CrossStudio is running on e.g. x86.
$(HostDLL)
$(HostDLL)  – String
The file extension for dynamic link libraries on the CPU that CrossStudio is running on e.g. .dll.
$(HostEXE)
$(HostEXE)  – String
The file extension for executables on the CPU that CrossStudio is running on e.g. .exe.
$(HostOS)
$(HostOS)  – String
The name of the operating system that CrossStudio is running on e.g. win.
$(Micro)
$(Micro)  – String
The CrossWorks target e.g. ARM.
$(PackagesDir)
$(PackagesDir)  – String
Path to the users packages directory e.g. c:/users/mpj/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/packages.
$(Platform)
$(Platform)  – String
The CrossWorks target e.g. arm
$(SamplesDir)
$(SamplesDir)  – String
Path to the samples subdirectory of the packages directory e.g. c:/users/mpj/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/packages/samples.
$(StudioDir)
$(StudioDir)  – String
The install directory of CrossStudio e.g. c:/Program Files(x86)/Rowley Associates Limited/CrossWorks for ARM 2.0.
$(StudioMajorVersion)
$(StudioMajorVersion)  – String
The major release version of CrossStudio e.g. 2.
$(StudioMinorVersion)
$(StudioMinorVersion)  – String
The minor release version of CrossStudio e.g. 0.
$(StudioName)
$(StudioName)  – String
The name of CrossStudio e.g. CrossStudio for ARM.
$(StudioRevision)
$(StudioRevision)  – String
The release revision of CrossStudio e.g. 11.
$(StudioUserDir)
$(StudioUserDir)  – String
The directory containing the packages directory e.g. c:/users/mpj/AppData/Local/Rowley Associates Limited/CrossWorks for ARM.
$(TargetID)
$(TargetID)  – String
ID number representing the CrossWorks target.
$(TargetsDir)
$(TargetsDir)  – String
Path to the targets subdirectory of the packages directory e.g. c:/users/mpj/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/packages/targets.
$(Time)
$(Time)  – String
Hour:Minutes:Seconds e.g. 15:34:03.
$(TimeHour)
$(TimeHour)  – String
Hour e.g. 15.
$(TimeMinute)
$(TimeMinute)  – String
Hour e.g. 34.
$(TimeSecond)
$(TimeSecond)  – String
Hour e.g. 03.