Nevermind i figured it out thanks just did

vb Code:
  1. Open App.Path & "\settings.ini" For Output As #1
  2.     Print #1, str
  3.     Close #1