Hi,
how to access the username on windows,
the same as Systemproperty user.name in java ?
Regards, Gilbert
Hi,
how to access the username on windows,
the same as Systemproperty user.name in java ?
Regards, Gilbert
Rebhan, Gilbert wrote:
Hi,
how to access the username on windows,
the same as Systemproperty user.name in java ?Regards, Gilbert
ENV['USERNAME'] works for me.
--
Posted via http://www.ruby-forum.com/\.