>I am useing the following code to delete temp folders.
>ox = createobject('scripting.filesystemobject')
>ox.deletefolder(lcpath + '\*,.T.)
>
>the problem is I only want to delete folders from yesterday
>and before, not todays temp folders, Can you help?
>Thanks,
Doug,
If you first do
oFolder = ox.GetFolder(lcpath)
You can examine the DateLastModified or DateCreated properties to make this determination.
George
Ubi caritas et amor, deus ibi est