>arraynum=ADIR(aTemps,ctables) >FOR i = 1 TO arraynum > if atemps(i,3)+20 < DATE() && last modified date was over 20 days ago > cFile=aTemps(i,1) > DELETE FILE (cpath+cFile) > endif >ENDFOR >Anybody come up with an answer for this. Just looking at my code and I have not solved this problem yet.