-
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
-
Check this registry branch...
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\
-
The key you would need is "Startup"
-
THANKS!!! I found the key... Just wanted to ask you, will this work on Windows 2000 and XP?
-
It will on W2k, because I have it. Don't know in XP, but I guess the branch/key will the same.
-
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
-