Now, thanks to the insights of my helpers, I could make it clearer. I only checked the top-level number of files using
Directory.GetFiles(pfad, "*.*", SearchOption.TopDirectoryOnly))
Here's what I found: • there's no redirection to "SysWOW64" once "System32" is specified as path. I can get the files of both, once set as path. • the result 2560 was correct, but I could only verify this number after setting the system files (etc) to visible in the folder options! • i.e. the GetFiles method counts hidden files as well (which it is supposed to do) So in the end my question arose out of not considering that, in the Windows directory and it's subdirectories, many files are hidden and/or system files. The GetFiles method was completely ok, only my verification wasn't. Thank you Mick