I'm using a script that sends a tweet every once in a while, and I needed to localize this msg with the host machine name, so I can know from where it comes from.
The host name can be reached by:
if ispcmachinename = getenv('COMPUTERNAME');elsemachinename = getenv('HOSTNAME');end