|
|
@ -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]); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |