Re: VB Script for Reading from CSV file
- From: "MikeB" <m.byerleyATVerizonDottieNettie>
- Date: Tue, 25 Mar 2008 15:35:18 -0400
"mr_unreliable" <kindlyReplyToNewsgroup@xxxxxxxxxxx> wrote in message
news:edXcGjpjIHA.2268@xxxxxxxxxxxxxxxxxxxxxxx
85.reem@xxxxxxxxx wrote:
I need a script that can read Group Information from a text file
(CSV) and create groups in the AD and then add members (from a CSV) to
these groups.
hi 85.reem, csv files are normally read using fso, (to read
line-by-line), and the "split" function, (to break down
the line into an array of the discrete values being separated
by the commas).
Also read using ADODB:
"Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" & sFolder &
";Extensions=asc,csv,tab,txt;"
I use it all the time.
Is there something with either fso or the split that is causing
you a problem?
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)
.
- References:
- Re: VB Script for Reading from CSV file
- From: mr_unreliable
- Re: VB Script for Reading from CSV file
- Prev by Date: port status
- Next by Date: Unexpected retrieved value in Environment Varaibles
- Previous by thread: Re: VB Script for Reading from CSV file
- Next by thread: Re: VB Script for Reading from CSV file
- Index(es):
Relevant Pages
|