Quote Originally Posted by xld View Post
Use

Environ("Username")

Yeah that should also return the windows logon username.
But I've had problems with that in the past so I prefer to use the WScript.Network UserName instead (commented out option in first piece of code).