Hi i have a small problem when writing to a file, it writes unwanted " at the begining and end.

vb Code:
  1. Private Sub Command1_Click()
  2. Dim str As String
  3. str = "[Test]" & vbNewLine & "S0=ftp.mysite.com" & vbNewLine & "S1=grabs" & vbNewLine & "[email protected]" & vbNewLine & "S3=password" & vbNewLine & "S4=http://www.mysite.com/grabs/"
  4.     Open App.Path & "\settings.ini" For Output As #1
  5.     Write #1, str
  6.     Close #1
  7. End Sub

the output is
Code:
"[Test]
S0=ftp.mysite.com
S1=grabs
[email protected]
S3=password
S4=http://www.mysite.com/grabs/"
when is should be
Code:
[Test]
S0=ftp.mysite.com
S1=grabs
[email protected]
S3=password
S4=http://www.mysite.com/grabs/
Does anyone have a soloution? Thanks