[thelist] newbie alert! Question about .asp-change and new question

Anthony Baratta Anthony at Baratta.com
Tue Apr 24 12:15:24 CDT 2001


At 09:31 AM 4/24/2001, Janet Nabring-Stager wrote:
>Thanks to everyone who tried to help me out with my asp questions.
>I'm trying to accomplish the same thing a different way now...and of
>course have more questions.

Here's how I do that...

    set objFS = CreateObject("Scripting.FileSystemObject")
    set objTextFile = objFS.OpenTextFile("d:\utils\query.txt",8,False,0)
    objTextFile.WriteLine strQuery
    objTextFile.Close

This works if the file already exists, IIS has write access to it, and I 
want to append to it.

Make sure your variable "newFile" is pointing to a directory that exists 
AND you have write access to.

---
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list