-1
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 delete content, my command is like this:
FileUtils.cleanDirectory("C:\PAYGO\RESP");
in this way the netbeans gives error saying that a String cannot be converted into a File, so as I could specify the folder?