View Single Post
 
Old 01-16-2021, 06:00 PM
mbcohn mbcohn is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Jan 2021
Posts: 32
mbcohn is on a distinguished road
Default 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.
Reply With Quote