|
-
Sep 14th, 2000, 11:35 AM
#1
Thread Starter
New Member
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)
=======================================================
-
Sep 14th, 2000, 12:08 PM
#2
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.
-
Sep 14th, 2000, 02:28 PM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|