Find the root directory

I have my native font and i want to copy it to windows\Font folder in windows after run my program.But I have a problem that some computers root drive is C: some of computers it is Z: Are there any way to get windows root?Help me.....
[241 byte] By [chamila1986a] at [2007-11-27 6:51:46]
# 1
System.getenv("windir")
kajbja at 2007-7-12 18:26:16 > top of Java-index,Java Essentials,New To Java...
# 2
or you could keep calling parentDirectory until there are no more path separators in the path string. (dont do this, lol)
TuringPesta at 2007-7-12 18:26:16 > top of Java-index,Java Essentials,New To Java...
# 3
> or you could keep calling parentDirectory until there> are no > more path separators in the path string. (dont do> this, lol)Won't help if you are on the wrong drive :)
kajbja at 2007-7-12 18:26:16 > top of Java-index,Java Essentials,New To Java...