Hello,
I'm needing a way to delete my backups folder. I have way too many robots to walk around deleting backups every month, I want to clear out the folder on a schedule. I already know how I want to do the schedule, I just can't figure out how to delete the files since RemoveDir only works on empty directories. I tried using a while loop and IsFile but I ran into the problem of not knowing how many subdirectories there will be. Here's how the controller files are stored:
hd0a/BACKUP/*All Backups are Here*
Some robots contain only 1-5 backups in the Backup folder, but some have 10+
I need a way to delete all of these with Rapid Code. Thank you!