System special folder path (includes My Documents, My Music, Program Files, Desktop, and more).
Platforms Supported: All
See also ${processdir} , ${basedir} , ${currentdir} , ${tempdir}
${specialfolder:dir=String:file=String:folder=Enum}
Example using CommonApplicationData
which is good when running as Windows Service:
fileName="${specialfolder:folder=CommonApplicationData:cached=true}/AppName/logfile.txt"
C:/ProgramData/AppName/logfile.txt
folder - System special folder to use. Full list of options is available at MSDN. The most common ones are:
C:\Users\%USERNAME%\AppData\Roaming
$HOME/.config
(or $XDG_CONFIG_HOME if set)/data/Containers/Data/Application/@GENERATED_NAME@/Documents/.config
/data/data/@PACKAGE_NAME@/files/.config
C:\Users\%USERNAME%\AppData\Local
$HOME/.local/share
(or $XDG_DATA_HOME if set)/data/Containers/Data/Application/@GENERATED_NAME@/Documents
/data/data/@PACKAGE_NAME@/files/.local/share
C:\ProgramData
/usr/share
/usr/share
/usr/share
C:\Users\%USERNAME%\Documents
$HOME
/data/Containers/Data/Application/@GENERATED_NAME@/Documents
/data/data/@PACKAGE_NAME@/files
C:\Users\%USERNAME%\Desktop
$HOME/Desktop
(or $XDG_DESKTOP_DIR if set)/data/Containers/Data/Application/@GENERATED_NAME@/Documents/Desktop
/data/data/@PACKAGE_NAME@/files/Desktop
C:\Users\%USERNAME%
$HOME
/data/Containers/Data/Application/@GENERATED_NAME@
/data/data/@PACKAGE_NAME@/files
C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Templates
$HOME/Templates
(or $XDG_TEMPLATES_DIR if set)/data/Containers/Data/Application/@GENERATED_NAME@/Documents/Templates
/data/data/@PACKAGE_NAME@/files/Templates
C:\ProgramData\Microsoft\Windows\Templates
/usr/share/templates
/usr/share/templates
/usr/share/templates
C:\WINDOWS\resources
/Library
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