Hi Clever Ones

I have been looking at a problem. Apparently sometimes after windows updates strange folders are left behind on a whichever is the biggest partition. The files can be deleted manually but they are starting to get on my nerves so I was looking to create a script of some sort that I could schedule to run to remove them.

Here is an example of the nonsense files


Sometimes my D Drive could have up to ten of these files. So the logic I was thinking of would be to create a safe list of folder names and to delete anything outside of the safe list.

Any clever ideas how I could achieve this please?

Regards welshpunk