Script to delete folders

Hello, I need a script that allows me to delete folders older than 30 days. Folders will have files in them, those would need to be deleted too.
This is on a windows environment.
All the folder are in the root of an external drive. The drive has been assigned a letter W.


Sure, we will get back to you soon.

Hi @intelix

Script to delete older files is ready. Please refer