Results 1 to 7 of 7

Thread: Startup Path

  1. #1
    Yash_Kumar
    Guest

    Startup Path

    I wanted to know how to find out the currenlty logged on user's startup path. Is there any such API or how do we do it? Also, suppose Multi user is enabled on a certain system, how do we know that and what would be the startup path then?

    Thanks in advance

  2. #2
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Check this registry branch...

    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  3. #3
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    The key you would need is "Startup"
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  4. #4
    Yash_Kumar
    Guest
    THANKS!!! I found the key... Just wanted to ask you, will this work on Windows 2000 and XP?

  5. #5
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    It will on W2k, because I have it. Don't know in XP, but I guess the branch/key will the same.
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  6. #6
    Yash_Kumar
    Guest
    One more question (Im really new to accessing the registry and all. I use the INI file approach), how do you access that key and retrieve its value. (HKEY_Current_User\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Startup)

    Thanks

  7. #7
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

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