From: Chris Morris Date: 2002-09-14T04:39:45+09:00 Subject: Re: User ID in Windows > DSmfo> Does anyone know a convenient way to get the login name of the user in > DSmfo> Windows (NT4.0)? I know this is probably an RTFM question, but a quick > > See: http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-talk/37643 You can also check ENV: S:\ruby-cvs\build>irb irb(main):001:0> ENV['UserName'] "ChrisM" S:\ruby-cvs\build>ruby -v ruby 1.6.6 (2001-12-26) [i586-mswin32] Chris http://clabs.org