so, simply do:
$result=WriteProfileString($IniFile,'Workstations',"$target",'@date')

it even logs the day when the machine was logged in.

if you want to use that list, you just need to issue:
readprofilestring($inifile,"Workstation","","")

and it should reply every wkstaname to you.

even close what you are needing?
_________________________
!

download KiXnet