When apps call GetFinalPathNameByHandleW, it will return the redirected path, not the original path, which can then cause issues if the app uses the result as a relative path to find files. This is most obvious when using something like Python's os.path.realpath, which calls GetFinalPathNameByHandleW.
When apps call
GetFinalPathNameByHandleW, it will return the redirected path, not the original path, which can then cause issues if the app uses the result as a relative path to find files. This is most obvious when using something like Python'sos.path.realpath, which callsGetFinalPathNameByHandleW.