I am looking for the use of variables like% WinDir%,% ProgramFiles%, ect. in an NAnt script, but I don't know the syntax.
Please, help!
$ {environment :: get variable ('WinDir')}
You can use the get-variable function.
Source: https://habr.com/ru/post/887002/More articles:Motivation to create a new v thread process - cPHP: Avoid undefined index? - phpdrawing a line in google maps perpendicular to two points - javascriptHow will I sanitize this line? (maybe in jQuery)? - javascriptShould I stick with bash for advanced Linux automation scripts or switch to Python? - pythonHow to draw Unicode text? - delphiC ++ 0x nested initializer lists - c ++Cookies for Android - androidLisp - Is this good for web programming / applications (interactive)? How is ruby? How is php? - ruby ββ| fooobar.comDebugging DOM mutations with Firebug before page loading - javascriptAll Articles