 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marcelo Guest
|
Posted: Thu Oct 30, 2003 2:40 pm Post subject: Default directories reference |
|
|
Hi
Are there any enviroment constants predefined in delphi (my docs, windows,
temp,etc), how I can get them?
The problem is that my customers use spanish or english MS windows and the
docs dir can be either My Documents or Mis Documentos
Thanks, Marcelo.
|
|
| Back to top |
|
 |
Andy Hill Guest
|
Posted: Thu Oct 30, 2003 3:09 pm Post subject: Re: Default directories reference |
|
|
You might want to check out these registry keys.
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders
HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders
HKEY_USERS.DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell Folders
Marcelo wrote:
| Quote: | Hi
Are there any enviroment constants predefined in delphi (my docs, windows,
temp,etc), how I can get them?
The problem is that my customers use spanish or english MS windows and the
docs dir can be either My Documents or Mis Documentos
Thanks, Marcelo.
|
|
|
| Back to top |
|
 |
Kurt Barthelmess Guest
|
Posted: Thu Oct 30, 2003 3:31 pm Post subject: Re: Default directories reference |
|
|
"Marcelo" <linux (AT) csg-consulting (DOT) com.ar> wrote:
| Quote: | Are there any enviroment constants predefined in delphi (my docs, windows,
temp,etc), how I can get them?
The problem is that my customers use spanish or english MS windows and the
docs dir can be either My Documents or Mis Documentos
|
Use the SHGetSpecialFolderLocation to identify the various locations
for special folders. The "My Documents" folder, for example, could be
named anything, even on a US English system.
Good luck.
Kurt
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|