如何在NAnt脚本中使用系统变量?

Nam*_* VU 7 variables nant system

我正在寻找%WinDir%,%ProgramFiles%等变量的使用.在NAnt脚本中,但我不知道语法.

请帮忙!

小智 13

$ {环境::获取变量( 'WINDIR')}