Browse Source

first comit

master
AntonioFrische 2 years ago
parent
commit
c51eafc65d
2 changed files with 1 additions and 11 deletions
  1. BIN
      bin/antoniofrische/com/mkDirFuction.class
  2. +1
    -11
      src/antoniofrische/com/mkDirFuction.java

BIN
bin/antoniofrische/com/mkDirFuction.class View File


+ 1
- 11
src/antoniofrische/com/mkDirFuction.java View File

@ -4,15 +4,5 @@ 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]);
}
}
}
}

Loading…
Cancel
Save