Master Coding
home
download
menu 3
feed
search
Friday, 1 July 2011
Listing the File System Roots
Listing the File System Roots
public static void main(String args[]){
try{
File[] roots = File.listRoots();
for (int i=0; i System.out.println((roots[i]));
}
}
catch (Exception ioe){
ioe.printStackTrace();
}
}
People who read this post also read :
Widget by
Bloggers University
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment