Special Folders

  • Thread starter Thread starter Steve C. Orr [MVP, MCSD]
  • Start date Start date
S

Steve C. Orr [MVP, MCSD]

I need to examine the programs listed in the user's start menu.
Normally this folder would be c:\Documents and Settings\<username>\Start
Menu
But I need to determine for sure where it is on the user's machine. I
haven't found a .NET way to find any special folders. This seems like quite
an oversight unless I'm missing something.
Also, do I need to combine the results with the All Users start menu to get
a complete list of the programs a user sees when they go to Start-->All
Programs?
 
I can answer the first part of your question. The .Net way is to use the
Environment.GetFolderPath method to get special folder locations.
 
Back
Top