This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- i18n aware path to "My Documents"
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2006
01:22 PM
i18n aware path to "My Documents"
Hi,
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.
Regards,
Heiko Ott
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.
Regards,
Heiko Ott
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2006
01:31 PM
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 16, 2006
01:48 PM
Robert,
thanks for this excellent hint. Combined with a plattform condition is this exactly what I was seeking for 🙂
Heiko
thanks for this excellent hint. Combined with a plattform condition is this exactly what I was seeking for 🙂
Heiko