import java.io.File;
String directory = System.getProperty("user.dir");
System.out.println(directory);
File file = new File(directory+"\\Munich\\");
for(File item : file.listFiles()){
System.out.println(item.getAbsolutePath());
}
String directory = System.getProperty("user.dir");
System.out.println(directory);
File file = new File(directory+"\\Munich\\");
for(File item : file.listFiles()){
System.out.println(item.getAbsolutePath());
}
No comments:
Post a Comment