delete all word files in a nested directory
Hi. All I'm trying to do is this:
a) The user selects the parent directory.
b) The program loops through the parent directory and any subdirectories, deleting all Word files (both .doc and .docx) as it goes.
c) The remaining files live happily ever after.
I googled around a bit, and found some similar situations, but not exactly what I need, and I haven't succeeded in modifying anything I've found. Thanks for your attention.
|