That would be the location their Roaming or local profile would normally be
stored $ENV{USERPROFILE} - their home directory is an attribute of their
account. 

I've used Win32::NetAdmin in the past and the UserGetAttributes routine when
I needed to see this sort of stuff.  


Kind regards,

Mark Anderson
Team Leader - RSWI/LAN Admin
1st Floor, The Cornerstone
60 South Gyle Crescent
Edinburgh, EH12 9UX
Tel: 0131 523 7630
Mob: 07808 826 063


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 08 December 2005 03:14
To: perl-win32-users@listserv.ActiveState.com
Subject: Finding the user's "home" directory?

*** WARNING : This message originates from the Internet ***

Greetings. I'm assuming I'm just missing something obvious here, but how do
I find the current user's "home" directory (C:\Documents and
Settings\<user>)? I didn't see it in the Win32 module, but I could have
missed it.

--Paul Hoffman

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB

Authorised and regulated by the Financial Services Authority.

This e-mail message is confidential and for use by the addressee only. If the 
message is received by anyone other than the addressee, please return the 
message to the sender by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The Royal Bank of 
Scotland plc does not accept responsibility for changes made to this message 
after it was sent.

Whilst all reasonable care has been taken to avoid the transmission of viruses, 
it is the responsibility of the recipient to ensure that the onward 
transmission, opening or use of this message and any attachments will not 
adversely affect its systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry out 
such virus and other checks as it considers appropriate.

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to