Probably no one knows how to do this, but I thought I'd give it a whirl.
I need to translate Windows UNC paths to their canonical path on the
remote machine.
For example:
\\ss04\root\some\mapped\dir
Would map to the directory (on host ss04):
D:\some\dir
I have searched high and wide for a way to do this with no avail. The
logical thing, from Java is to maybe run the Java process in this
directory, then do something like:
new File(".").getCanonicalPath()
Which returns
\\ss04\root\some\mapped\dir
Anyone out there have a clue as to how to do this?
Thanks.
-Hal
______
science does not remove the terror of the gods
www.hellblazer.com
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|