How can we code in java to find out the drive letter on which operating system is installed ?
You can get that from the Environment:
System.getenv("SystemDrive");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With