Possible duplicate:
What is the cross-platform way of getting the local application data directory path?
I am looking for a way to get the location of the data folder of a local application, which is a special Windows folder in Java. Unfortunately, the following only works for English versions of Windows XP with default settings:
System.getProperty("user.home") + "\\Local Settings\\Application Data"
What I would like to have is something like this in .NET:
System.Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)
Is there a way to do this without calling the SHGetSpecialFolderLocation Windows shell API?
java windows shell
smf68 Jul 29 '09 at 9:01 2009-07-29 09:01
source share