Does my $username - $ENV{'USERNAME'}; not work for you? It should if %USERNAME% is an environment variable.
Update: D'oh! Managed to skip the 'remote' part of the question entirely...
--k.
In reply to Re: Re: Re: Extracting the name of a logged in user on a remote w2k workstation
by Kanji
in thread Extracting the name of a logged in user on a remote w2k workstation
by Zenistar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |