Dim strPath as String
Dim fso as Object

strPath = "c:\tmp\tonfichier.txt"

Set fso = CreateObject("Scripting.FileSystemObject")
Dim oFile as Object
Set oFile = FSO.CreateTextFile(strPath)
oFile.WriteLine "test" 
oFile.Close
Set fso = Nothing
Set oFile = Nothing 
