Jump to content
  • Advertisement
Sign in to follow this  
safe

Where is "Start Menu" located?

This topic is 4814 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

On my computer (Win2000), there are two folders: Administrator.ND1.001 All Users.WINNT contain "Start Menu" folder. It seems changed from computer to computer. How to get the folder that the "Start Menu" located? is there any API functions or where can I find the information about this? Thanks a lot!

Share this post


Link to post
Share on other sites
Advertisement
All users are items that *all users* can see in their menu.

Administrator's start menu contains items only he/she can see.

Understand? "all users" is global, and each user has it's own private start menu folder.

Share this post


Link to post
Share on other sites
Thanks for your quick reply.
But I don't know why "All Users" and "Administrator" don't work on my computer? They are "Administrator.ND1.001" and "All Users.WINNT" while some of the computers work.

Share this post


Link to post
Share on other sites
There are two separate start menu locations that are combined at runtime to become the start menu the user sees: all user start menu, and per-user start menu. You can retrieve the location via SHGetFolderPath and passing in CSIDL_STARTMENU or CSIDL_COMMON_STARTMENU. If you want the Start Menu\Programs folder, use CSIDL_PROGRAMS or CSIDL_COMMON_PROGRAMS.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by safe
Thanks for your quick reply.
But I don't know why "All Users" and "Administrator" don't work on my computer? They are "Administrator.ND1.001" and "All Users.WINNT" while some of the computers work.


Did you by any chance install over a previous installation? That could explain the weird names.


Hope this helps.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!