Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 4

i18n aware path to "My Documents"

is there a i18n aware way to detect the path to the "My Documents" folder on Windows plattform?

Detecting the users home directory is no big deal ($D(home)) and it seams to be plattform and i18n aware. However an easy way to get access to "My Documents" seems missing...

I see no solution for this other than defining a i18n string for the directory or performing a jni call.

Have I missed something?

Maybe someone had a similar problem and found a simple solution.


Heiko Ott
Labels (1)
0 Kudos
(2) Replies
Flexera Alumni

I don't think there's a built-in $D resolver or $E environment variable for that directory; can you use a Get Registry Value action to read the Personal registry value under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders?
0 Kudos
Level 4


thanks for this excellent hint. Combined with a plattform condition is this exactly what I was seeking for 🙂

0 Kudos