https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115189
--- Comment #6 from Bill Zissimopoulos <gnu.org at billz dot fastmail.fm> --- > I can reproduce the problem with "subst" and with the Windows Explorer > ("File/Map network drive"). I assume the is the usual way to map network > drives. The usual way to map network drives is indeed "Map network drive", but GetFinalPathNameByHandleW should work with those. I am surprised that it does not, unless the problem you are experiencing is not related to GetFinalPathNameByHandleW after all.