DId you have a look at the KSMS stuff? Within it is the script 'maintenance_server.kix' that has the code you need. Look for where $SCRIPTINI is declared and then used within the script. You will find a sction like this:

code:
:COMPUTERS
Dim $computernames, $computer, $remoteroot, $macaddress, $waitseconds, $counter, $maxwait

if exist($SCRIPTINI)
$computernames=readprofilestring($SCRIPTINI,'','')

Follow your nose from there.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.