in reply to Re: Testing for a directory handle
in thread Testing for a directory handle
On *nix machines it shows the "." and ".." entries. I'm not sure how that works on MSWin. I've left it in as a potential edge case.
Well, as usual for Microsoft software: Don't expect consistent behaviour. Most directories have the . and .. entries. For the root directory of any drive, it heavily depends on the drive type. Some root directories have the . and .. entries, others don't. See Re^6: readdir() on a sysopen() handle? for details.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Testing for a directory handle
by kcott (Archbishop) on Jan 31, 2018 at 02:27 UTC |