Results 1 to 4 of 4

Thread: Retrieving NT users' home folder path

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    UK
    Posts
    66
    Thanks Parksie; but that gets the users' profile folder not their home folder. Any ideas?

    Cheers

    Simon

    [Edited by SimonPearce on 08-20-2000 at 05:38 PM]

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Hmm...It might be in the registry somewhere. I can't tell because I haven't got an NT machine here at the moment.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Try this:
    Code:
    Dim sHomePath As String
    sHomePath = Environ("HOMEDRIVE") & Environ("HOMEPATH")
    Good luck!

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I thought it must have been something simple, but my Win2k machine is dead at the moment...
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width