List the hard disk of the current system

xiaoxiao2021-03-05  24

Import java.io.file;

Public class hardlist {

Public static void main (string [] args)

{

File [] roots = file.listroots ();

For (INT i = 0; i

{

System.out.println (Roots [i] .Getpath ());

}

}

转载请注明原文地址:https://www.9cbs.com/read-35147.html

New Post(0)