Re: Yet another Newbie asking for assistance
- From: "Yetter" <chrisyetter@xxxxxxxxx>
- Date: 3 May 2005 13:48:33 -0700
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
.
- Follow-Ups:
- Re: Yet another Newbie asking for assistance
- From: Yetter
- Re: Yet another Newbie asking for assistance
- Prev by Date: Re: Username = NULL -- Why?
- Next by Date: Help Decoding HEX Registry Entry
- Previous by thread: Re: Username = NULL -- Why?
- Next by thread: Re: Yet another Newbie asking for assistance
- Index(es):
Relevant Pages
|