Getting a file path from a file handle in Windows
-
20-09-2019 - |
Question
In Windows, is there a straightforward way to get the full path of a file, given only the file's handle?
I can't use GetFinalPathNameByHandle() because that's Vista+ only and our product has to work on XP. However, something that simple, or close to it, would be best.
Solution
Here you go: Obtaining a File Name From a File Handle
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow