NAnt
Help
Function Reference
environment::get-folder-path |
v0.92 |
Gets the path to the system special folder identified by the specified enumeration.
string environment::get-folder-path(folder)
| Name | Type | Description |
|---|---|---|
| folder | SpecialFolder | An enumerated constant that identifies a system special folder. |
Copy "out.log" from the project base directory to the program files directory.
<copy file="out.log" todir="${environment::get-folder-path('ProgramFiles')}" />