How to use a system variable in NAnt script?
I'm look for usage of such variables as %WinDir%, %ProgramFiles%, ect. in a NAnt script but I don't know the syntax.
P开发者_开发百科lease help!
${environment::get-variable('WinDir')}
You could use the get-variable function.
精彩评论