System.getenv("APPDATA")
(there seems to be no env variable for the “Local Settings” folder, but this will give you the ‘Application Data’ folder)
More Related Contents:
- How to stop java process gracefully?
- Capturing stdout when calling Runtime.exec
- How to run Unix shell script from Java code?
- Java maximum memory on Windows XP
- Java: run as administrator
- How to invoke a Linux shell command from Java
- How do I make HttpURLConnection use a proxy?
- execute shell command from android
- Maven error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
- JNA Keyboard Hook in Windows
- javac not working in windows command prompt
- Running a java program as an exe in Windows without JRE installed
- Detect if Java application was run as a Windows admin
- Using NTLM authentication in Java applications
- Maximum amount of memory per Java process on Windows?
- Accurate Sleep for Java on Windows
- How do I elevate my UAC permissions from Java?
- How can I set date and time formatting in Java that respects the user’s OS settings
- How do I execute Windows commands in Java?
- Default character encoding for java console output
- OpenJDK availability for Windows OS [closed]
- How to hide a JFrame in system tray of taskbar
- Start a java program without the console
- How can I open Java .class files in a human-readable way?
- Java – Sort Strings like Windows Explorer
- How do I increase memory on Tomcat 7 when running as a Windows Service?
- Running a JAVA program as a scheduled task
- How to check if a program is installed on Windows system [duplicate]
- How to configure trustStore for javax.net.ssl.trustStore on windows?
- Inno Setup: Extending Windows default apps list