Assume there is a directory c:\temp\java
File f = new File ("c:/temp/../temp/java/./..");
f.getCanonicalPath() = c:\temp\
f.getAbsolutePath() = c:\temp\..\temp\java\.\..
Canonical path is the bare minimum and neccesory path.
AbsolutePath is the Complete path with with the File object was created.
HTH,
Paul.
------------------
Get Certified, Guaranteed!
(Now Revised for the new
Pattern)
www.enthuware.com/jqplus