Thanks very much for your replies, especially Keith. Based on your
suggestions I've found a setup I'm happy with.
I couldn't get the Shell Instance Object instructions from the MSDN
article to work, possibly things have changed in Vista, but then I found
an excellent program called Shell Object Editor that does the job
automatically:
http://www.tropictech.de/modules/PDd...hp?cid=1&lid=5
You need to run it as Administrator under Vista for it to be able to
make the correct registry changes.
Following a suggestion from the Shell Object Editor webpage, I then
navigated to the newly created CLSID, and added a DWORD value called
SortOrderIndex. If this is set to a small enough value (0x12 worked for
me), the new shell folder will appear before "Public" and "Computer" in
Explorer, exactly like the real userprofile folder.
I didn't really get on with the idea of using junctions within my new
shell folder, as these now have shortcut arrows in Vista (I'm just
fussy, and don't like how it looks with the arrows!). However I can
solve this by actually moving all the folders I want into the shell
folder (then it will be just like XP used to be, with a "My
Documents"-equivalent folder appearing in Explorer, and the
infrequent-access "system" folders like Favorites and Links out of the
way under C:\Users\username...).
-- Zeyn
Keith Miller \(MVP\);667468 Wrote:
> I don't know of any way to accomplish exactly what you want. As a
> workaround, you could:
>
> Hide the actual UserProfile folder by adding an entry under:
>
> [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Pol icies\NonEnum]
>
> named {59031a47-3f72-44a7-89c5-5595fe6b30ee} with a value of 1.
>
> Create a 'fake' UserProfile folder on the desktop and use directory
> junctions (google for mklink) to create shortcuts to the User folders
> you do
> want displayed.
>
> That folder would show below the system folders in the folder pane. If
> you
> wanted it with the system folders, you could create a shell extension:
>
> 'Creating Shell Extensions with Shell Instance Objects'
> (http://msdn2.microsoft.com/en-us/library/ms997573.aspx)
>
>
--
Zeyn