Thanks all.
For all variations:
R: R:\\ R:/ and, if logged into the R drive, R:.
os.scandir returns the same error;
pathlib.Path.walk returns an empty iterator.
Best,
Rob
On 02/04/2026 08:09, dn via Python-list wrote:
Rob,
(apologies for delay - message stuck in queue)
On 31/03/2
Rob,
(apologies for delay - message stuck in queue)
On 31/03/2026 00:31, Rob Cliffe via Python-list wrote:
I am using Python 3.13 and Windows 11.
I have a RAM disk (ImDisk), configured to be the R: drive.
When the RAM disc is empty,
os.scandir("R:")
raises a FileNotFoundError instead of (a