Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 573987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:47:01+00:00 2026-05-13T13:47:01+00:00

There seem to be a few virtual folders which have GUIDs associated to them

  • 0

There seem to be a few virtual folders which have GUIDs associated to them (control panel, desktop) –

::{00021400-0000-0000-c000-000000000046} // desktop

Where the blazes are these defined? When are they used?

What I want is a way to have a string which represents a virtual folder without any ambiguity.

If, for instance, I were to create a PIDL for the desktop, the display name comes back as “C:\Users\Steve\Desktop”.

Well, that’s true at the moment – but its not really the correct folder. I can navigate in Explorer to that folder, and it contains a portion of the files on my desktop, not the entire desktop.

What I want is a way to encode that location as a string that will always navigate to the virtual desktop folder (the one that has all of its contents, not just a few things).

Does anyone know of a definitive list of such GUIDs? Or how I might convert a given PIDL into one?

I tried SHGetDisplayName(pidl, SHGDN_*) – every version of that for the desktop pidl gives me either a short “Desktop” or “C:\Users\Steve\Desktop”. (I’m logged in under the ‘steve’ account, obviously).

Ideas / comments / pointers?

EDIT: So it seems that I can use the given answers below to have a list of Known Folder GUIds. But does anyone know programatically how to convert from a PIDL -> known folder GUID? I assume that I can ParseDisplayName(“::{guid}”) to get the PIDL, but is there a way to get to the GUID?

EDIT2: I still cannot find a way to get to the GUID programatically. However, for my purposes, I am recording the CSIDL_xxx that I use to create the object initially, and write that out & restore it later, and then create a PIDL by way of the CSIDL, which retains its correct identity (ie. it doesn’t degrade into “C:\Users\\Desktop” but rather generates a PIDL that really points to the virtual desktop.

The trick for me is to always use the CSIDL->PIDL, never going to a string in between. CSIDL->PIDL->string->PIDL = degeneration into non-virtual path.

Thanks everyone for the help – and I’ll keep looking if anyone finds more on the subject and posts it, I’d be interested! 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:47:01+00:00Added an answer on May 13, 2026 at 1:47 pm

    If i understand you correctly you are looking for the CSIDLs (pre-Vista, include Shlobj.h) or KNOWNFOLDERID (>= Vista, Knownfolders.h).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When designing an distributed application in Java there seem to be a few technologies
There seem to be a number of different ways in which one can create
I have been writing Selenium test for web application and there seem to be
there seem to be a few posts on this subject but i can't find
Although there seem to be very few up to date references for OpenGL 3.x
There seem to be a few good pure Python SSH2 client implementations out there,
In C# There seem to be quite a few different lists. Off the top
There seem to be quite a few tutorials on how to do this, each
There seem to be very different opinions about using transactions for reading from a
There seem to be a limitation in the maximum number of clickable options in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.