Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Target returned from a Hardlink #2

Open
BlueFinBima opened this issue Jul 8, 2021 · 0 comments
Open

No Target returned from a Hardlink #2

BlueFinBima opened this issue Jul 8, 2021 · 0 comments

Comments

@BlueFinBima
Copy link

Hello, I am struggling to obtain a target from a hardlink. I am running Windows 10 64-bit and version 1.0.2 of ReparsePoints. The scenario is as follows

E:\xxxx>mklink 2.txt 1.txt
symbolic link created for 2.txt <<===>> 1.txt
E:\xxxx>mklink /h 3.txt 1.txt
Hardlink created for 3.txt <<===>> 1.txt

ie 2.txt is a symlink and 3.txt is a hardlink

I see the following from the code
2.txt (symlink)
image
3.txt (hardlink)
image
1.txt and for completeness, this is the "real" file
image

I'd appreciate any thoughts about what might be going on, and what I can do to identify a file which is a hardlink.

Thanks in advance, Neil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant