Oliver
2005-06-08 13:29:16 UTC
Hi,
at the moment im trying to retrieve the standard program path ("C:\Programme" or "C:\Program Files" or ... itŽs language dependent) from Windows 2000 with my Java program (JDK 1.5).
Does somebody have an idea?
I had a look at java.lang.System, here i get the user.dir (working directory) by
String s = "";
Properties P = java.lang.System.getProperties();
s = P.getProperty("user.dir");
return s;
but this is not exactly what i want.
thanks
Oliver
at the moment im trying to retrieve the standard program path ("C:\Programme" or "C:\Program Files" or ... itŽs language dependent) from Windows 2000 with my Java program (JDK 1.5).
Does somebody have an idea?
I had a look at java.lang.System, here i get the user.dir (working directory) by
String s = "";
Properties P = java.lang.System.getProperties();
s = P.getProperty("user.dir");
return s;
but this is not exactly what i want.
thanks
Oliver