WatsonDyar
Registered User.
- Local time
- Yesterday, 23:44
- Joined
- Aug 12, 2014
- Messages
- 50
I need a way to delete a folder along with subfolders and files associated with a record via command on a form:
The path is stored in a text field "txtDocuments".
For example: "C:\Users\Watson\Desktop\FY15\1505\1505-010"
So, I would want the code to pull the folder location from the txtDocuments text field and delete folder "1505-010" and all sub folders & files contained within it.
Making the directory was easy....deleting it is giving me the problem~
Thank you!
The path is stored in a text field "txtDocuments".
For example: "C:\Users\Watson\Desktop\FY15\1505\1505-010"
So, I would want the code to pull the folder location from the txtDocuments text field and delete folder "1505-010" and all sub folders & files contained within it.
Making the directory was easy....deleting it is giving me the problem~
Thank you!