The environment variable like USERNAME
, TMP
, USERPROFILE
, COMPUTERNAME
, PROCESSOR_ARCHITECTURE
etc.
Platforms Supported: All
${environment:variable=String}
USERNAME
, TMP
, USERPROFILE
, COMPUTERNAME
, PROCESSOR_ARCHITECTURE
etc.For better performance then consider to combine with cached=true. Thus only resolving environment-variable value only once, but then not react to any changes of the environment variable.
This Layout Renderer outputs environment variables, and NOT properties from System.Environment
To list all environment variables in your system:
set
dir env:
log file for 32 bits systems in folder 32 and otherwise in folder 64
<target xsi:type="File" name="file1" fileName="c:\temp\${when:when='${environment:PROCESSOR_ARCHITECTURE:cached=true}'='X86':inner=32:else=64}\file.log" />
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4