Originally Posted By: BradV
Sure. I have:

 Code:
[computers]
comp1=netbios-name1
comp2=netbios-name2
comp3=netbios-name3


etc. It's pulling the correct computer name. On the first loop, $strWks is set to "netbios-name1"

Regards,

Brad
Ummm... shouldn't you have quotes around the strings? Kix will try to do math on the - operator.
[edit]NM... just realized this is an INI file.


Edited by Les (2011-11-18 04:58 PM)
Edit Reason: DOH
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.