This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Answer of your que..
Posted by ruchi and hema on November 04, 2000 at 6:50 AM
there is one method of a System class from which
u can get the System properties.
Properties p = System.getProperties();
System.getProperties() will return Properties Object
then getProperty () method of Properties class
will return String.
ruchi and hema
> How can I get the system properties of a computer. Please can anybody help in getting the following
> 1)Get the list of drives on a computer
> 2)Get the following list of information for a specific drive
> -File system (NTFS, FAT, etc.)
> -Free space
> 3)Name of the computer program is running on
> Please email this to firstname.lastname@example.org