Hi Mark, > What I can't figure out is where the initial \ is coming from. Can you run > the following code on your system and post the output? now that you pointed this out I remember that I came over same issue already with some other apps; and it turned out that they do check for absolute paths, but dont take into account that on NetWare the volume name can be up to 16 chars I think - but there's often only a check for Windows drive letters = one char followed by a colon; but as you see the standard volume is SYS: which are already 3 chars followed by colon; so maybe someone changed somewhere the logic to detect absolute paths but forgot a check for NetWare? Or what I also came over was that a check for a protocol prefix (like http: or file:) detected sys: as unknown protocol... The downside is here that file: or http: would also be valid volume names on NetWare, and so there's no real way to differ between a protocol specifier and a volume name, argh! Fortunately the standard volume is always named sys: and that's where most Java stuff gets installed....
> package org.apache.markt; > import java.io.File; > import java.io.IOException; > import java.net.URL; > public class NetWareTest { > public static void main(String[] args) throws IOException { > File testDir1 = new File("."); > System.out.println(testDir1.getCanonicalPath()); > File testDir2 = new File(testDir1.getCanonicalPath()); > System.out.println(testDir2.getCanonicalPath()); > URL outURL = testDir2.toURL(); > String outURI = outURL.toString(); > System.out.println(outURI); > outURL = new URL(outURI); > File outDirF = new File(outURL.getFile()); > System.out.println(outDirF.getCanonicalPath()); > } > } I see nothing unusual with that - NetWare behaves here exactly same as Windows; OS: NetWare VM: 1.4.2 SYS:\nwtest SYS:\nwtest file:/SYS:/nwtest/ SYS:\nwtest java: Class org.apache.markt.NetWareTest exited successfully OS: Windows XP VM: 1.4.2_12-b03 D:\projects\java\nwtest D:\projects\java\nwtest file:/D:/projects/java/nwtest/ D:\projects\java\nwtest thanks for looking into this issue, Guenter. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]