Re: Yet another Newbie asking for assistance

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Okay, I have tried to figure out how to do the logging for this problem
and have hit a brick wall. Here is the piece of the code I am working
on. Watch for wordwrap, the logfileobj.Writeline line is only one
line, not two.

On Error Resume Next
Set objGFO = objFSO.GetFolder(cFROM)
intGFI = 0
For Each strGFI In objGFO.Files
intGFI = intGFI + 1
objFSO.MoveFile cFROM & strGFI.Name, cDEST
logfileobj.WriteLine strGFI.Name & " was moved to " & cDEST & " at
" & now
Next

The problem is I cannot get strGFI.Name to echo anything to my logfile.
I have tried many different solutions and searched the groups to the
best of my ability, but I'm still in the early stages of scripting and
don't how how to express what I am trying to do in the proper terms.

Thanks

.



Relevant Pages

  • Zuidy Review - decided to write one...
    ... they were already well on their way to a very happy cruise... ... Cabin steward was just okay. ... did hit it off with one of my tablemates, but she never came back to ... We did meet up during the week and became good friends ...
    (rec.travel.cruises)
  • TR: The Other Penns
    ... Okay, we all heard about the flooding at Penns. ... Tuck the fly rod away and lets hit Captain Steve's on ... Off to the beach. ...
    (rec.outdoors.fishing.fly)
  • Brick walls at NARA-NYC on Dec. 8
    ... The National Archives at New York City's monthly Finding Family continues this month on December 8th. ... A panel of expert genealogists will be on hand to discuss local, state, and other non-Federal resources genealogists can use when they have hit that brick wall. ...
    (soc.genealogy.jewish)
  • Re: "Full Disclosure"
    ... you hit a brick wall this time. ... >>> passionate defense of what a person thinks is right is ipso facto ... > The Nazis were of course jack-booted thugs. ...
    (rec.games.bridge)
  • Re: DEATH~! Fears The NetBastard
    ... This is no time for riddles, John Henry! ... love of food, out with it! ... > Okay, so some of y'all have already heard this story, because you read ... > have time to hit the brake, ...
    (rec.sport.pro-wrestling)