...Another basic question. Again, I'm used to scripting in vbscript... If I want to overwrite a file in vbscript, I would do something like:
 Code:
On Error Resume Next
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("C:\MyFile.txt",2,True)
objFile.Write "The contents of MyFile.txt"
objFile.Close

I see the OPEN and WRITELINE commands, but I don't see anything that will let me overwrite a file. Same question for appending a file (not just a single line). In vbscript, appending would be the same as the overwrite example, except the 2 would be an 8.