Christer Olsson wrote:
You wrote:
Can anybody think of a reason why it should behave this way?
Maybe because the docs says "If you pass a Shell path, it must be an=
absolute path. If not, an UnsupportedFormatException will result"?
Well, maybe, except that a path starting with "~" IS an absolute path, is it
not? It's certainly not relative to whatever my current working directory
happens to be...
AFAIU it's not an absolute path, which *always* starts with a "/" (or "\").
~/ is just a macro, expanded by the shell (not all shells, if I remember
correctly).
Try using System.EnvironmentVariable("HOME") + whatever
Ken
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>