$ENV{username} #also works [download]
In reply to Re: How to get the User login name in Win2000 by greatshots in thread How to get the User login name in Win2000 by arunmep