Windows "Documents and Settings" in another languages

2k views Asked by At

My C# program traverse a drive for some data stored under user profile folder. I need to know whether some particular folder is "Documents and Settings". I cannot use SpecialFolders trick because I traverse not my system drive, but some attached drive, which may contain operating system in another language, for example, German.

What I need is simply a set of strings how "Documents and Settings" look like in localized Windows, e.g. German, Spanish, Chinese, Italian, Russian, Japanese, Korean, French and so on.

Is there any reference (file, link, etc) which may help me?

2

There are 2 answers

2
lowlevel On

In this case you may have to scan the directory structure and have your code make an educated guess as to the correct folder. Eg: look for soemthing that will be common to all localizations such as the hidden 'ntuser.dat' file.

To illustrate, type 'dir /a:h ntuser.dat /s' in a command prompt.

0
Leon Harris On

If you need the Application Data folder equivalents the ones I know are:

German  (DE)   Application Data    Anwendungsdaten
Italian (IT)   Application Data    Dati applicazioni
Spanish (ES)   Application Data    Datos de programa
Polish  (PL)   Application Data    Dane aplikacji