Hi Shawn,
Well, yes, it's mysterious indeed. I'm not sure why different shell folders
are listed in those keys in the registry, and why others are not. All the
shell folders are listed here, as sub-keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\explorer\FolderDescriptions
I'm thinking that unless certain folders (such as Contacts, Links, Saved
Games, and Searches) are moved by the user, then they won't be listed in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User
Shell Folders
and that the default locations are used. Why this is true for some shell
folders and not others, I don't know.
Too, the Downloads folder is, by default, listed as
{374DE290-123F-4565-9164-39C4925E467B} in the following key, and
doesn't necessarily have to be moved. If the Contacts folder is moved,
however, its name is listed as {56784854-C6CB-462B-8169-88E350ACB882}, but
otherwise, if not moved, it's not listed in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User
Shell Folders.
I think that Links would show {BFB9D5E0-C6A9-404C-B2B2-AE6DB6AF4968},
Searches would show {7D1D3A04-DEBB-4115-95CF-2F29DA2920DA}, and Saved Games
would be {4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}, under the Name value of
that key, with the user-defined new path under value Data, should a user
change the folder's location from the default. For Contacts, Links, Saved
Games, and Searches, therefore, I think that deleting those Name values in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User
Shell Folders
would restore the folders' default locations, should their paths no longer
be valid for one reason or another. Or, one could just change the path to a
valid location. I've only tested this by moving the Contacts folder,
though, and not tried the others (further fiddling|testing is required)...

)
In other words, say, a user moved Contacts to Drive G, a removable drive.
Drive G is dropped on the floor, and destroyed. One could buy another
removable drive, name it G, and run the command shell:contacts, to create a
new Contacts folder on the new Drive G. Or, one could skip buying a new
Drive, delete the Name value {56784854-C6CB-462B-8169-88E350ACB882} in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User
Shell Folders,
then run the command shell:contacts, and thereby create a new, restored
Contacts folder in the default location, that is, C:\Users\(User
Name)\Contacts. But, since it's now in the default location, it won't be
listed in the above key. Such is the mysteriousness of the Contacts folder,
at least...
"brink" <> wrote in message
news:...
>
> dean-dean;459487 Wrote:
>> Look in these keys in the Registry Editor:
>>
>> HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shell
>> Folders
>>
>> HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User
>> Shell Folders
>>
>> What is the Data for the Names "My Music" and "My Pictures" (no
>> quotation
>> marks).
>>
>> The defaults for the first key should be "C:\Users\(You)\Music" and
>> "C:\Users\(You)\Pictures" (no quotation marks).
>>
>> The defaults for the second key should be "%USERPROFILE%\Music" and
>> "%USERPROFILE%\Pictures" (no quotation marks).
>>
>>
>>
>
> Hi dean-dean,
>
> I noticed these HKEY locations only contained 6 in one and 7 in the
> other of the personal user folders. "Downloads" being the one not in
> the "Shell Folders".
>
> Do you know the HKEY locations for the other personal user folders?
> (Contact, Links, Saved Games, and Searches)
>
> Thank you,
> Shawn
>
>
> --
> brink
>
> *There are no dumb questions, just the people that do not ask them.*
> OM\")
> *Please post feedback to help others.*