In my Java program how can I find out where the Startup folder is on uers' PCs ? I know it's different on different versions of Windows. I only need my app to work on Windows. Any sample code ?
This should work:
System.getProperty("user.dir")
here you have an overviwe about system properties:
http://download.oracle.com/javase/tutorial/essential/environment/sysprop.html