I'm startign with this basic script to read the last modifed date of a file. I want to take this concept and expand it a bit. This script gives me the date and time of the last time the file was modified. IIs there a way to only report the date? I want to be able to read the date modifed for all pdf and txt files in a specified directory and copying them to a different folder if the last modiefed date is equal to today's date.
Set objFSO = Createobject ("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile("c:\test.txt")