
objFSO.CreateTextFile("textfile.txt")
This is probably a simple question, but I've yet to find the answer.
I have a script that pulls a recordset and then writes the recordset to a
textfile. My problem, is in specifying where to write the text file. I
thought this would be simple. Not so. With the following code
Set infoTextStream = objFSO.CreateTextFile("txtFile.txt", True)
the text file is written to c:\winnt\system32
But if I try
("/rootdirectory/someotherdirectory/someotherdirectory/txtFile.txt")
It advises that the path doesn't exist. How do I specify the correct path?
Jay