Gets the path to the system special folder identified by the specified enumeration.
The path to the specified system special folder, if that folder physically exists on your computer; otherwise, the empty string ("").
Exception Type | Condition |
---|---|
ArgumentException | folder is not a member of SpecialFolder. |
Copy "out.log" from the project base directory to the program files directory.
<copy file="out.log" todir="${environment::get-folder-path('ProgramFiles')}" />
EnvironmentFunctions Class | NAnt.Core.Functions Namespace