From: Daniel Berger Date: 2009-04-18T02:03:42+09:00 Subject: Re: get the Windows OS Login name using Ruby? Mmcolli00 Mom wrote: > Do you know if there is a way to get the Windows OS Login name using > Ruby? I can do this with VB but haven't found a way to do this in Ruby. require 'etc' p Etc.getlogin # OR gem install sys-admin require 'sys/admin' p Sys::Admin.get_login Regards, Dan