Filesystemobject Choking !!

Results 1 to 2 of 2

Thread: Filesystemobject Choking !!

  1. #1
    Join Date
    Dec 1969

    Default Filesystemobject Choking !!

    I&#039;m trying to get the filesystmeobject to work on IIS/WinXP Pro and this script just hangs and doesn&#039;t work. What am I doing wrong?<BR><BR>&#060;%@ Language=VBScript %&#062;<BR>&#060;%<BR><BR> Dim fso, tf<BR> Set fso = Server.CreateObject("Scripting.FileSystemObject")< BR> Set tf = fso.CreateTextFile("c: estfile.txt", True)<BR> &#039; Write a line with a newline character.<BR> tf.WriteLine("Testing 1, 2, 3.") <BR> &#039; Write three newline characters to the file. <BR> tf.WriteBlankLines(3) <BR> &#039; Write a line.<BR> tf.Write ("This is a test.") <BR> tf.Close<BR>%&#062;<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Filesystemobject Choking !!

    I think you have norton antivirus installed with script blocking enabled. turn it off.<BR><BR><BR>j<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts