On 31/03/2026 11:14, Barry wrote:
On 31 Mar 2026, at 09:28, Roel Schroeven <[email protected]> wrote:
There doesn't seem to be much consistency.
As you can see, FindFirstFileW() on an empty RAM disk gives an
ERROR_FILE_NOT_FOUND. Adding \ or \*.*. Doesn't help.
Maybe the result changes based on what hidden files are in the root of the?
What does dir /ah etc return?
Barry
You could well be right. Both "dir R: /ah" and "dir R: /as" return
nothing; to be precise Windows displays
Directory of R:\
File Not Found
Whereas "real" disks (including memory sticks) often (always?) contain
hidden files or directories.
Best
Rob Cliffe
--
https://mail.python.org/mailman3//lists/python-list.python.org