-
Anyone know a way to make this function create coma delimited text?
script:
========================================================
Set txtfile = filesys.CreateTextFile("d:\home\webzone\Orders\Orders" & Year(Now) & Month(Now) & Day(Now) & Hour(Now) & Minute(Now) & Second(Now) & ".txt",True,FALSE)
=======================================================
-
Are you in a coma?
Comma dude.
you should learn the basics of the Open / Print #? / Close statements if you want to get any further, it really isn't difficult. It seems to me that if you know how to use the FSO then yo should have no trouble creating files using conventional methods.
-
Why not use the standard Open and Write methods?
Code:
Open "MyFile.txt" For Output As #1
Write #1, String1, String2
Close #1
This will enclose your strings in quotes and seperate them with a comma.