I have the following code where ac.lnk point to c:\t.txt
Path p = Paths.get("C:\\Users\\joshua\\Desktop\\ac.lnk");
Path _rp = p.toRealPath();
but _rp doesn't contain the path with he symbolic link expanded to c:\t.txt
I read from the doc http://download.java.net/jdk7/docs/api/java/nio/file/Path.html#toRealPath that only if I use as argument LinkOption.NOFOLLOW_LINKS
then realPath
does not resolve symbolic links.
Thanks.