diff --git a/bin/antoniofrische/com/mkDirFuction.class b/bin/antoniofrische/com/mkDirFuction.class index eceffc6..9d934b3 100644 Binary files a/bin/antoniofrische/com/mkDirFuction.class and b/bin/antoniofrische/com/mkDirFuction.class differ diff --git a/src/antoniofrische/com/mkDirFuction.java b/src/antoniofrische/com/mkDirFuction.java index 78712ab..b4189ad 100644 --- a/src/antoniofrische/com/mkDirFuction.java +++ b/src/antoniofrische/com/mkDirFuction.java @@ -4,5 +4,15 @@ import java.io.IOException; import java.io.File; public class mkDirFuction { - + public static File direct = new File("C:\\Users\\AntonioFrische\\OneDrive - ABACCO Solutions\\Documents\\Schule_22_23_CFGS\\Acceso_Datos\\SpringTool_4"); + public static void main(String args[]) { + File[] dirList = direct.listFiles(); + for(int i = 0; i < dirList.length; i++) { + if(dirList[i].isDirectory()) { + System.out.println("Dic: "+dirList[i]); + }else { + System.out.println("Archivo: "+dirList[i]); + } + } + } }