Posts by Caio Silveira • 1 point
2 posts
-
0
votes3
answers20
viewsA: How to delete all files from a directory using Fileutils.cleanDirectory();
I managed to solve the problem as follows: File resp = new File("C:/PAYGO/RESP"); FileUtils.cleanDirectory(resp); I had to create a file and put the path of the folder inside it, but thank you all…
javaanswered Caio Silveira 1 -
-1
votes3
answers20
viewsQ: How to delete all files from a directory using Fileutils.cleanDirectory();
I am trying to delete all files from within a folder, but not delete the folder itself, I have been recommended to use Fileutils.cleanDirectory(), however, I cannot specify the folder I want it to…
javaasked Caio Silveira 1