Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows "Documents and Settings" in another languages

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?

like image 339
Alex Avatar asked Dec 28 '25 01:12

Alex


1 Answers

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.

like image 171
lowlevel Avatar answered Dec 30 '25 15:12

lowlevel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!