I'm looking for usage of such variables as %WinDir%, %ProgramFiles%, ect. in a NAnt script but I don't know the syntax.
${environment::get-variable('WinDir')}