putroppo ad un certo punto nella cartella Recycler (è nella root) lancia un'eccezione...codice:import java.io.*; public class listFiles { public listFiles() { } public void getlistFiles(String path) throws Exception { File f= new File(path); if (f.isDirectory()) { File[] allFiles = f.listFiles(); for (int i=0; i < allFiles.length; i++) { getlistFiles(allFiles[i].getPath()); } } else { System.out.println(f.getPath()); } } public static void main (String[] args) { listFiles lf = new listFiles(); try { lf.getlistFiles("F:/"); } catch (Exception e) {} } }