How to get default windows folders in Java
843810Dec 12 2009 — edited Dec 19 2009I have been trying to get the My Music folder in Windows and could not find an easy way with Java. The path changes between XP and Vista and Windows 7. Is there a standard registry value I can query? It also changes with languages. I ended up developing a Native Interface and Java Library JAR. I did put it on the web for anyone to use. It is at [http://code.google.com/p/winfolderpath/] Note: this works for both 32 bit and 64 bit JVM's and has access to all CSIDL identifiers.
The question is, Is there a way to do this without using dll's?