How can i get the directory of the user's start menu folder? I know for a fact that I can get the user's home directory by System.getProperty("user.home"), and then add "Start menu" to it, but what if it's not an english system? how would i do it then?
On Window XP localized folder names are stored in the registry under:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders tree.
The path for 'Menu start" is stored in the key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Start Menu
Java does not provide methods for accessing Windows registry in the standard API, but you can find some free libraries in the net