You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Early research towards a Win32 implementation; it looks quite involved:
http://us.generation-nt.com/answer/how-read-symbolic-link-there-posix-readlink-equivalent-help-118000931.html
Contains example code in the 2nd comment!
From 1st comment:
Read about "Hard Links", "Junctions",...also have a look at IOCTL's
like FSCTL_GET_REPARSE_POINT and familiar for more information.
You should also pass the symbolic link handle opened with CreateFile(...)
to GetFinalPathNameByHandle(...) to get the target file, that works Vista
and upper only. AFAIK this also works for UNC Paths (local only!),...
Early research towards a Win32 implementation; it looks quite involved:
Contains example code in the 2nd comment!
From 1st comment:
Read about "Hard Links", "Junctions",...also have a look at IOCTL's
like FSCTL_GET_REPARSE_POINT and familiar for more information.
You should also pass the symbolic link handle opened with CreateFile(...)
to GetFinalPathNameByHandle(...) to get the target file, that works Vista
and upper only. AFAIK this also works for UNC Paths (local only!),...
See also the recent cygwin support being added for native windows symlinks.
Related to #967
The text was updated successfully, but these errors were encountered: