I have not tried it myself, but the threading library by agraham has a priority property, so maybe if you perform the delete on a thread with the priority set low, you may get better response in your GUI. also, even though it would most likely severely slow things down, instead of deleting all files in a single command, if you loop through the file list with a sleep (or doevents) this step would also allow more cpu clicks for the GUI to update. Without knowing your projects or testing the theory, however, if you are deleting every file in a directory containing 000's of files, it may be quicker to drop the directory itself, and then recreate it afterwards rather than deleting the individual files. Just some thoughts, hope it helps.