Run this code:
code:
$a=READPROFILESTRING(@ldrive+'\uk-scripts\exclude.ini','Exclude','')
$a=split($a,chr(10))
for each $comp in $a
$b=READPROFILESTRING(@ldrive+'\uk-scripts\exclude.ini','Exclude',$comp)
? 'Computer = '+$comp+' and has assigned value ='+$b
next

This will give you the list of computers in the .INI file and their associated values.

BTW, these scripts are so simple that I really have no idea what you can do wrong except maybe have spelling errors. Thus, check for spelling errors, since the code does work for me.

[ 26 July 2002, 21:41: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.