This content has been marked as final. Show 2 replies
I don't have a Mac to play with, but did you try File.getCanonicalFile()? The documentation seems to suggest that it does what you want.
Edited by: baftos on Dec 13, 2012 1:51 PM
Thanks for the response baftos, you are absolutely right and that is exactly what I needed.
File.getCanonicalFile in the example above will return "/Users" for both which solves my problem.