From a842880ab8d7396760a49f4a4a57def598aa5492 Mon Sep 17 00:00:00 2001 From: AntonioFrische Date: Tue, 20 Sep 2022 16:38:44 +0200 Subject: [PATCH] mi DIr --- bin/antoniofrische/com/mkDirFuction.class | Bin 299 -> 1246 bytes src/antoniofrische/com/mkDirFuction.java | 12 +++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/bin/antoniofrische/com/mkDirFuction.class b/bin/antoniofrische/com/mkDirFuction.class index eceffc63fb83294693dff6447d23a08e42311cea..9d934b3bca6fc82e49b4a746e2d4a8cb9635a688 100644 GIT binary patch literal 1246 zcmah}TTc@~7(LS#wv^>oL{t!pcxgeX7Q9hFOKZhgMXi#cO`2sp(t+&`+1--x?w|0{ zC!WOw5=r_4{7+uK*%n1K@nN^y?>pbjnRCwW*Y95%02Z;VA;2(d*q*e7eCG()tn#EO zYsuPHPB{6x=?Q6T2r=|-8aqbPGVG1y%K9cZJ%;v*aQuhvg5MM}nHLsMGlb_&OW49& zWC+F+s|=y6tZ)sT4EjlE7+nk^J6C$`a>p%YnmqDN9;FqV=Nz%aV^gurQYM>Si4~<) zSB%_JPMY-^w>`I1G^=%sms6>7YNnjcKPr|orpaAd&KaJh_O>JJjaO1y<=F@#=+V)O zJ|aKgA~+ClviFZx^b|UsSnU8qzm7JvGxQXM&7ak4>)d%|tXrHRT9Bq;ts0I{|NUYF zK@6(3!*p7&DqM!K!heJ%r9w4B*bHamZ~w(Y5x%Hn1fvWcmT*0#FRk1cPqgsInk(d( zj!PJ4=oBuQN6tuR*Eirz2d?0nhO2+rSlo3zUeggrf>5$fjt=}X@;T|?ks92nr8P`4 z4F2}NDbiA1SQYMsF~!i96Xskjf(i7f+YKEzks^(a?QL#X7^Y5Y+>B2;@z;S{E2h;F zvpR0!HYLfE&FvV@#Qz>4>|M-hxJPas2kQiN9cksYrZV7Jb{Gq!W5zM7Vn@!!NPWZE zAUXU0AwEq}ybGi`1>ls}3{24Vn4zoa8RphgW82Swh73cbDC>^Nl~ZKY$@gelF~k@p zD@bo2F;VfNry#=6=u#D6%I^YQM~JLN^+R-jM)VUk0ysnWc7lQ61AavEZCh1po z+a?Zi_Vh@*KcY7QIEV8D?7#&KwT2rA`8&VdNAv*0h2X*-mL`W&2Z(*Z$UZI~VPY+M z{SecBF?oQQ1Kioe&~a=2RO@|!4No>c{%9yBL7)63qN;Y)D6Kj=iIGm{?ZORoW0`6% u(C4#^HJQ*C>OSE$Ji!BGe4fi#LYAb+QC&yq8*~j1+4x|9x_PPv@aQK7s2-dE delta 130 zcmcb|xtfXV)W2Q(7#JAr7z8GA*-6-B=4F=HF)}b~XofK|usG+Zq;fGZGjLAUVAPo$ z$EZ6wmRZA#fq@YSSsB=XBs);AKA6wIz^b*Kfny_3fQf+%NP?t6BsY-c0kc_wG%t|H L$iN3AnHcy1GEfjr 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]); + } + } + } }