In a prior post I asked about referencing the folder "My Documents"
and someone was good enough to tell me about:
SHGetFolderPath(NULL, CSIDL_PERSONAL|CSIDL_FLAG_CREATE, NULL, 0,
szMyDocPath);
But now I think I asked the wrong question. What I want is a folder into
which I can put a folder that will show in everyone's MyDocuments.
Is there a reference to such a thing??
Thanks
Brian Muth - 29 Dec 2006 04:26 GMT
> In a prior post I asked about referencing the folder "My Documents"
>
[quoted text clipped - 5 lines]
> But now I think I asked the wrong question. What I want is a folder into
> which I can put a folder that will show in everyone's MyDocuments.
Why? They are already there under "C:\Documents and Settings\<users>"
By the way, you will need local Administrator privileges to look at other
people's documents.
Brian
Franky - 31 Dec 2006 16:58 GMT
> > In a prior post I asked about referencing the folder "My Documents"
> >
[quoted text clipped - 7 lines]
>
> Why? They are already there under "C:\Documents and Settings\<users>"
I want to my program to add a new folder
> By the way, you will need local Administrator privileges to look at other
> people's documents.
>
> Brian
David Lowndes - 29 Dec 2006 14:14 GMT
>In a prior post I asked about referencing the folder "My Documents"
>and someone was good enough to tell me about:
[quoted text clipped - 4 lines]
>But now I think I asked the wrong question. What I want is a folder into
>which I can put a folder that will show in everyone's MyDocuments.
Have you tried CSIDL_COMMON_DOCUMENTS?
Dave
Franky - 31 Dec 2006 16:55 GMT
Thanks
> >In a prior post I asked about referencing the folder "My Documents"
> >and someone was good enough to tell me about:
[quoted text clipped - 8 lines]
>
> Dave
Ben Voigt - 29 Dec 2006 14:42 GMT
> In a prior post I asked about referencing the folder "My Documents"
>
[quoted text clipped - 7 lines]
>
> Is there a reference to such a thing??
I don't think so. The All Users' My Documents folder, called Shared
Documents, doesn't appear to be merged with the user My Documents like the
All Users' Desktop or Start Menu.
You can get an item to appear in the logical "My Documents" view using a
shell namespace extension, of course. That may be far more trouble than
it's worth to you. You could also drop a shortcut in the Default User's My
Documents, which will cause every new profile created to include the
shortcut, and then also create the shortcut in existing profiles as desired.
> Thanks
Franky - 30 Dec 2006 15:38 GMT
Thanks
I'm not where I can try anything out.
Would you please comment on what CSIDL_COMMON_DOCUMENTS is for
Franky
> > In a prior post I asked about referencing the folder "My Documents"
> >
[quoted text clipped - 19 lines]
>
> > Thanks
David Wilkinson - 30 Dec 2006 19:32 GMT
> Thanks
>
[quoted text clipped - 3 lines]
>
> Franky
Franky:
At least on XP, CSIDL_COMMON_DOCUMENTS will give
C:\Documents and Settings\All Users\Documents
which is also called "Shared Documents". By default, any user can read
or write there.
David Wilkinson
Franky - 31 Dec 2006 16:56 GMT
Thanks
> > Thanks
> >
[quoted text clipped - 14 lines]
>
> David Wilkinson