This should work too.

Code:
sMyComputerName = Environ("COMPUTERNAME")