How do I programmatically access the target path of a windows symbolic link?

前端 未结 1 1536
孤独总比滥情好
孤独总比滥情好 2020-12-03 14:43

Windows 6 (Vista and Server 2008) support proper symbolic links, which can be created via the CreateSymbolicLink function. But there doesn\'t appear to be a corresponding fu

相关标签:
1条回答
  • 2020-12-03 15:37

    GetFinalPathNameByHandle

    A final path is the path that is returned when a path is fully resolved. For example, for a symbolic link named "C:\tmp\mydir" that points to "D:\yourdir", the final filesystem path would be "D:\yourdir".

    0 讨论(0)
提交回复
热议问题