I am looking for a reliable way to clear down *.temp, *.tmp, *.chk files on our data servers. We currently use the following command through a batch file.
del *.tmp /s/q/f
Although having viewed the output of this command it appears to be running in the first few directories & then stops possibly when it reaches its long file name limit.
Does anyone know of a reliable app or util that will clear this down for me? I did take a look at treesize earlier but couldnt see a command/ switch I could use for deleting the temp files.