I was wondering what I need to do to be able to retrieve an environment variable, specifically the COMPUTERNAME environment variable. Thanks. Oh and I'm doing this in VBScript, so if it's different in VBScript, please tell me that way. Otherwise, I'll just try to do it the same as VB.