I expect this is probably a silly question, but I am new to writing vbs scripts, so any help is much appreciated.
I am trying to write a script that can be run as a scheduled task. Firstly to copy files modified in the last 24hours from the first directory to the second. Secondly to check another pair of directories, and if the first directory has files in it from a more recent month the second directory to copy all files modified within 24H of that file from the first directory to the second. Code below.