File.getParent

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

File.getParent

Rainer M. Engel
Hello everyone,

I'm not sure if it is wanted this way. But at least on WIN I get
different results with the "File.getParent()"-function.

Working with "getDirectory()" I'm used to have a back-slash (or
generally the File.separator) at the end of string.
Using "File.getParent(path)" I have none except the parent directory is
a hard drive itself.


Regards,
Rainer


--
Rainer M. Engel, Dipl. Digital Artist

scientific|Media, Berlin