
If (String.IsNullOrWhiteSpace(path) || path.Length < 50 || !path. What can be the reason that I can't read deeper items under Windows 10/11? I reviewed your question, and I think that same way that you indicated in the description, it depends on the content of that USB, if that is just files like photos and documents, then in Windows, go to Settings - Devices - AutoPlay and from there, you can set removable media to open when connected to your PC or use the. Autoplay is a valuable feature that has been a part of the Windows OS for decades. In Windows Explorer, all subdirectories and files are displayed on Windows 8.1/10/11.

On Windows 8.1 Home 圆4 I get all subdirectories and files, while on Windows 10/11 Pro 圆4 (in VMWare) I only get the first level directories, so no deeper subdirectories and no files.

Unfortunately, it makes a difference on which OS I run the program.

I want to read the driectory tree from a USB device that is not a pure storage device, but a camera, smartphone or tablet.
