Click to See Complete Forum and Search --> : To:poochie (Windows Directory)


Coder
September 30th, 1999, 01:20 PM
What I mean by Windows Directory is that it could tell me the harddrive as well as windows dir
e.g if the use is runnig Windoews it returns
C:\windows or
and NT it returns C:\Winnt
That is what I mean by Getting the Windows Directory

so how can I do this in Java

CODER '99

"I think I am - therefore I am"

poochi
September 30th, 1999, 04:30 PM
AFAIK , there is no pure java solution to get the system dependent variables. As the other
guy suggest , create an ini file and read those informations from it.

Poochi...