Hi. Thank you for asking.
What does 'older than 2 months' mean
It means older than 2 months (60 days for example), it means all what is older than 60 days.
15 December 2018 is not older than 60 days (regarding today so that folder will stay. This is not so important even if file is 62 days old or 55 days old doesn't matter. It is just somekind of milestone how old it is to delete top folder.
Is the file to be checked
always in a subfolder 1 down from the top of each tree (George, Jack, Joe etc) called
logfiles?
YesIs it
always called logfile.txt? it is like this
LOGL_201902sr_200756.txt First part of file is the same, I write fev examples of that below. Each folder contains about 200 of these files.
only thing here with LOGL_201902sr_200756.txt is that sometimes it can happend that this file is missing ( I mean all that files are missing), it is not present in folder in this case top folder should be deleted too.
In real life this file logfile.txt are many files in logfiles folder like this below.
LOGL_201902sr_200756.txt
LOGL_201902sr_184156.txt
LOGL_201902sr_183141.txt
LOGL_201902sr_162522.txt
LOGL_201902sr_150501.txt
The problem is not stated clearly.
(1) What does 'older than 2 months' mean. For example today is 6 February 2019. Do you mean
created (or modified?):
before 6 December 2018?
more than 60 days ago?
before January?
something else?
You said '2018 is older than 2 months ago'. 5 December 2018 is less than 2 months ago by one meaning of 'ago'.
(2) Is the file to be checked always in a subfolder 1 down from the top of each tree (George, Jack, Joe etc) called logfiles?
(3) Is it always called logfile.txt?
Extra question.... can you run .vbs scripts on the system?