AlphaFS: InvalidOperationException on Directory.EnumerateFileSystemEntries()
Hi,
If I run these commands under PowerShell:
$path = "\\Ds216j\sauvegardes\Documents" # it's a shared folder on a Synology NAS
[Alphaleonis.Win32.Filesystem.Directory]::GetFileSystemEntryInfo($path)
[Alphaleonis.Win32.Filesystem.Directory]::EnumerateFileSystemEntries($path)
I get the following output:
As you can see, the target folder is well identified as a directory by AlphaFS. However, if I try to enumerate the contents of this folder, I get an error “the target directrory is a file, not a directory”. Does anybody know why?
Thanks.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (8 by maintainers)
Commits related to this issue
- Fixes #441: InvalidOperationException on Directory.EnumerateFileSystemEntries() — committed to alphaleonis/AlphaFS by Yomodo 6 years ago
- Merge branch 'master' into #441 — committed to alphaleonis/AlphaFS by Yomodo 6 years ago
- Fixes #441: InvalidOperationException on Directory.EnumerateFileSystemEntries() — committed to alphaleonis/AlphaFS by Yomodo 6 years ago
- Merge branch '#441' into develop — committed to alphaleonis/AlphaFS by Yomodo 6 years ago
- Fixes #441: InvalidOperationException on Directory.EnumerateFileSystemEntries() — committed to alphaleonis/AlphaFS by Yomodo 6 years ago
- -Reverted issue #441; -Updated CHANGELOG.md; — committed to alphaleonis/AlphaFS by Yomodo 6 years ago
- Merge branch '#441' — committed to alphaleonis/AlphaFS by Yomodo 6 years ago
I will propose a modified version of AlphaFS to the user concerned by this issue to check if the patch works. I’ll keep you informed.