Suresh Thalamati wrote:
I tried getCanonicalFile() on Windows xp , it does not resolve symbolic/hard links.
I feared that must be the case for Windows
The comparision does not work on hard links but sure works for soft links. Eitherway hard links are not for directories.Does the comparision u mentioned works on Linux if there are hard links ?
[ $ ln adir temp ln: `adir': hard link not allowed for directory ] Regards -Rajesh
