Vbscript to read data from .csv file


















Join Us Close. Join Tek-Tips Forums! Join Us! By joining you are opting in to receive e-mail. Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here. Guys I am trying to automate the creation of local users on local servers they are workgroup servers, not in AD and I have written a script to create the user and do all of the necessary tasks as far as that is concerned. What I would like to do now is have a text CSV file containing information such as Username and Full Name and then have my script read the information from that and create the users accordingly.

Please can anyone help me out with how to read from a text CSV file and then pass the information to the script to action? Password not required for the CSV file Thanks in advance.

Thanks for the code. Thanks for all of your help guys, I have written my script and it is working great : "Who is General Failure and what is he doing on my computer? Please note, the code is completely untested and written mostly from memory so is almost certainly not correct but just to give you an idea. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 10 years, 5 months ago. Active 4 years, 5 months ago.

Viewed 37k times. I have a file with 4 fields. Improve this question. Joel Coehoorn k gold badges silver badges bronze badges. Cocoa Dev Cocoa Dev 8, 30 30 gold badges silver badges bronze badges. Are the fields fixed length or variable length? Add a comment. Since its in VB why cant u try posting this in. NET forum Raghu. Banfa 9, Expert Mod 8TB. NET forum Raghu Raghu, thanks for your proposal. I need to learn as well. Raghu, thanks for your proposal. Next I. Thank you, but how about if i would like to grab the data and perform calculation for example 3.

How should i proceed from here? Expand Select Wrap Line Numbers. Post Reply. Visual Basic. Read data file on client fails. Mobile Development. How to read.



0コメント

  • 1000 / 1000