This is what I'm playing with:
Dim fso, strMonth, strDay,strComputer, strFolder,intRC,strSQLString,errResults, counter
Set fso = CreateObject("Scripting.FileSystemObject")
if len(datepart("m",date-1) ) = 1 then
strMonth = "0" & datepart("m",date-1)
else
strMonth = datepart("m",date-1)
end...