#100771 - 2003-05-07 06:47 PM
How do I check a CSV for a string?
|
MaestroG
Fresh Scripter
Registered: 2002-12-30
Posts: 28
Loc: Tulsa, OK
|
I read the comments on the latest KixGolf tourney thread, but it's all way over my head.
My KiXtart logon script creates a CSV to record PC information (like OS and computer name) when a user logs on. I only want one entry per computer so after that section of code runs I create a file on the C:\ drive of the PC. I also put an "If Exist" statement before that section of code and if all goes well, I only get one entry per PC in the CSV.
This seems hokie. Couldn't I do something similar like an If Instr() to look inside the CSV for that computer name if not found, run the code? I know If Instr() won't work, but is there something that does or some way to accomplish this?
I appreciate this forum. Thanks, G
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 580 anonymous users online.
|
|
|