Listing the File System Roots
UNIX file systems have a single root, `/'. On Windows,
each drive is a root. For example the C drive is represented
by the root C:\.
File[] roots = File.listRoots();
for (int i=0; i<roots.length; i++) {
process(roots[i]);
}
Great Explanation