Reputation: 35364
I'm looking for usage of such variables as %WinDir%, %ProgramFiles%, ect. in a NAnt script but I don't know the syntax.
Upvotes: 7
Views: 2813
Reputation: 1038710
You could use the get-variable function.
Upvotes: 0
Reputation: 2453
${environment::get-variable('WinDir')}
Upvotes: 13