@nietras By "very long path", you mean longer than MAX_PATH? Have to prepended "\\?\" in front of that path?
I did not know short paths supported UNC paths, to be honest.
@martinplante yeah, and prepending is not an option here. If Windows Explorer can do it, it is possible but calling NtQueryBasicFileInformation seems "excessive" and haven't figured out how yet...
@nietras have you tried ProcMon?