Code:
set objFSO = CreateObject("Scripting.FileSystemObject")
'Generates an "Invalid procedure call or argument" error
set objStream = objFSO.OpenTextFile("C:\file.txt", 1, true, 1)
'Does not generate an error
set objStream = objFSO.OpenTextFile("C:\file.txt", 1, 1)
What gives?
-Geates