http://qs1969.pair.com?node_id=268697


in reply to Users home drives

Perl maintains environment variables in a special hash named `%ENV'.
Try typing "perldoc env" to get more info.

I'm not sure how it would be done for a list of account names from the server side, but you could
access local environment variables on each workstation by using %ENV.
use strict; my $profile = $ENV{'USERPROFILE'}; print $profile, "\n"; # $profile contains the path to the user's profi +le # usually located in C:\Documents and Settings\u +ser
I'm sure some of the more experienced Monks will be able to
give more advice on this, but I hope this helps.