Dave Coventry wrote: > ... > Can anyone see what I'm doing wrong, or offer an alternative way of > getting the name of the computer? A simple result := GetEnvironmentVariable('HOSTNAME'); should do it. Alternatively, you may read the /etc/hostname file just as you read any other text file. Regards, Sergei