Results 1 to 2 of 2

Thread: Getting current user folder?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2009
    Posts
    435

    Getting current user folder?

    How would I get the current user's folder?
    Example:
    "C:\Documents and Settings\Owner"

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Getting current user folder?

    vb Code:
    1. Environment.GetEnvironmentVariable("USERPROFILE")
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


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