date field on FSO

Results 1 to 2 of 2

Thread: date field on FSO

  1. #1
    Join Date
    Dec 1969

    Default date field on FSO

    I am trying to set a condition on the DateLastModified but for some reason it work. Would someone look at it and give me some advice. Thank you<BR><BR>dFileMod = date &#039; Initialize date<BR><BR>For Each objFile In objFolder.Files<BR> If UCase(Right(objFile.Name, 3)) = "TXT" Then<BR> fileDate = Left(objFile.DateLastModified, 9)<BR> MsgBox " Set Date " & dFileMod & " FileDate :" & fileDate<BR> If fileDate = dFileMod Then<BR> &#039;If date = dFileMod Then<BR> Path1 = ("C:
    pt\" &<BR> Path2 = ("C:\" &<BR> objFSO.CopyFile Path1, Path2<BR> Else<BR> Call NoDivo()<BR> End If<BR> End If<BR> Next

  2. #2
    Join Date
    Dec 1969

    Default RE: date field on FSO

    Do we get any more information?<BR><BR>Do you get an error?<BR><BR>Wait a minute, there&#039;s a "MsgBox" in there - this ASP?!<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts