471,350 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

CLSID of Desktop Folder

What's the CLSID of the Desktop folder?

I'm using the string
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

to launch the My Computer (from the run dialog). I would like to do
the same thing to bring up the Desktop in explorer.

Thanks
Andrea
Jan 22 '06 #1
2 6006

Hello Andrea,

I know you only wanted the Desktop CLSID but, here's all of them.

public enum CSIDL
{
CSIDL_DESKTOP = 0x0000, CSIDL_INTERNET = 0x0001, CSIDL_PROGRAMS = 0x0002,
CSIDL_CONTROLS = 0x0003,
CSIDL_PRINTERS = 0x0004, CSIDL_PERSONAL = 0x0005, CSIDL_FAVORITES = 0x0006,
CSIDL_STARTUP = 0x0007,
CSIDL_RECENT = 0x0008, CSIDL_SENDTO = 0x0009, CSIDL_BITBUCKET/*Recycle
Bin*/ = 0x000A,
CSIDL_STARTMENU = 0x000B, CSIDL_MYDOCUMENTS = 0x000C, CSIDL_MYMUSIC =
0x000D,
CSIDL_MYVIDEO = 0x000E, CSIDL_DESKTOPDIRECTORY = 0x0010, CSIDL_DRIVES/*My
Computer*/ = 0x0011,
CSIDL_NETWORK = 0x0012, CSIDL_NETHOOD = 0x0013, CSIDL_FONTS = 0x0014,
CSIDL_TEMPLATES = 0x0015, CSIDL_COMMON_STARTMENU = 0x0016,
CSIDL_COMMON_PROGRAMS = 0x0017,
CSIDL_COMMON_STARTUP = 0x0018, CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019,
CSIDL_APPDATA = 0x001A,
CSIDL_PRINTHOOD = 0x001B, CSIDL_LOCAL_APPDATA = 0x001C, CSIDL_ALTSTARTUP =
0x001D,
CSIDL_COMMON_ALTSTARTUP = 0x001E, CSIDL_COMMON_FAVORITES = 0x001F,
CSIDL_INTERNET_CACHE = 0x0020,
CSIDL_COOKIES = 0x0021, CSIDL_HISTORY = 0x0022, CSIDL_COMMON_APPDATA =
0x0023, CSIDL_WINDOWS = 0x0024,
CSIDL_SYSTEM = 0x0025, CSIDL_PROGRAM_FILES = 0x0026, CSIDL_MYPICTURES =
0x0027, CSIDL_PROFILE = 0x0028,
CSIDL_PROGRAM_FILES_COMMON = 0x002B, CSIDL_COMMON_TEMPLATES = 0x002D,
CSIDL_COMMON_DOCUMENTS = 0x002E, CSIDL_COMMON_ADMINTOOLS = 0x002F,
CSIDL_ADMINTOOLS = 0x0030, CSIDL_COMMON_MUSIC = 0x0035,
CSIDL_COMMON_PICTURES = 0x0036, CSIDL_COMMON_VIDEO = 0x0037,
CSIDL_CDBURN_AREA = 0x003B, CSIDL_PROFILES = 0x003E, CSIDL_FLAG_CREATE =
0x8000,
}//CSIDL

- SpotNet

"Andrea" <ku*******@yahoo.it> wrote in message
news:r8********************************@4ax.com...
: What's the CLSID of the Desktop folder?
:
: I'm using the string
:::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
:
: to launch the My Computer (from the run dialog). I would like to do
: the same thing to bring up the Desktop in explorer.
:
: Thanks
: Andrea
Jan 22 '06 #2
Thank you. But how can I launch explorer from the run dialog so that
it starts up showing the desktop folder?
Thank you.
Andrea

On Sun, 22 Jan 2006 21:40:39 +1100, "SpotNet" <Sp*****@msnews.grp>
wrote:

Hello Andrea,

I know you only wanted the Desktop CLSID but, here's all of them.

public enum CSIDL
{
CSIDL_DESKTOP = 0x0000, CSIDL_INTERNET = 0x0001, CSIDL_PROGRAMS = 0x0002,
CSIDL_CONTROLS = 0x0003,
CSIDL_PRINTERS = 0x0004, CSIDL_PERSONAL = 0x0005, CSIDL_FAVORITES = 0x0006,
CSIDL_STARTUP = 0x0007,
CSIDL_RECENT = 0x0008, CSIDL_SENDTO = 0x0009, CSIDL_BITBUCKET/*Recycle
Bin*/ = 0x000A,
CSIDL_STARTMENU = 0x000B, CSIDL_MYDOCUMENTS = 0x000C, CSIDL_MYMUSIC =
0x000D,
CSIDL_MYVIDEO = 0x000E, CSIDL_DESKTOPDIRECTORY = 0x0010, CSIDL_DRIVES/*My
Computer*/ = 0x0011,
CSIDL_NETWORK = 0x0012, CSIDL_NETHOOD = 0x0013, CSIDL_FONTS = 0x0014,
CSIDL_TEMPLATES = 0x0015, CSIDL_COMMON_STARTMENU = 0x0016,
CSIDL_COMMON_PROGRAMS = 0x0017,
CSIDL_COMMON_STARTUP = 0x0018, CSIDL_COMMON_DESKTOPDIRECTORY = 0x0019,
CSIDL_APPDATA = 0x001A,
CSIDL_PRINTHOOD = 0x001B, CSIDL_LOCAL_APPDATA = 0x001C, CSIDL_ALTSTARTUP =
0x001D,
CSIDL_COMMON_ALTSTARTUP = 0x001E, CSIDL_COMMON_FAVORITES = 0x001F,
CSIDL_INTERNET_CACHE = 0x0020,
CSIDL_COOKIES = 0x0021, CSIDL_HISTORY = 0x0022, CSIDL_COMMON_APPDATA =
0x0023, CSIDL_WINDOWS = 0x0024,
CSIDL_SYSTEM = 0x0025, CSIDL_PROGRAM_FILES = 0x0026, CSIDL_MYPICTURES =
0x0027, CSIDL_PROFILE = 0x0028,
CSIDL_PROGRAM_FILES_COMMON = 0x002B, CSIDL_COMMON_TEMPLATES = 0x002D,
CSIDL_COMMON_DOCUMENTS = 0x002E, CSIDL_COMMON_ADMINTOOLS = 0x002F,
CSIDL_ADMINTOOLS = 0x0030, CSIDL_COMMON_MUSIC = 0x0035,
CSIDL_COMMON_PICTURES = 0x0036, CSIDL_COMMON_VIDEO = 0x0037,
CSIDL_CDBURN_AREA = 0x003B, CSIDL_PROFILES = 0x003E, CSIDL_FLAG_CREATE =
0x8000,
}//CSIDL

- SpotNet

"Andrea" <ku*******@yahoo.it> wrote in message
news:r8********************************@4ax.com.. .
: What's the CLSID of the Desktop folder?
:
: I'm using the string
:::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
:
: to launch the My Computer (from the run dialog). I would like to do
: the same thing to bring up the Desktop in explorer.
:
: Thanks
: Andrea

Jan 22 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Eskimo Joe | last post: by
5 posts views Thread by DraguVaso | last post: by
1 post views Thread by Scott | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.