variablessystemnant

How to use a system variable in NAnt script?


I'm looking for usage of such variables as %WinDir%, %ProgramFiles%, ect. in a NAnt script but I don't know the syntax.


Solution

  • ${environment::get-variable('WinDir')}