J
Juan I. Cahis
Dear friends:
I have a problem with "Favorites" and the USERPROFILE system variable.
First, I noticed that IE and all the Ms Explorer windows lost the
option to display the Favorites. If I clicked the "Favorites" Menu,
only the "Add to Favorites" and "Organize Favorites" appeared, but if
I clicked any of these two options, they didn't do anything.
But the "Favorites" folder was alive and well, if I went to the
"C:\Documents and Settings\<my account>\Favorites", all my Favorites
were there, and they could be seen without any problem, either from
the explorer or from the CMD.EXE shell. I checked the security
permissions of the Favorites folder and all were OK.
The next step was to do the following command from a CMD.EXE shell:
"SET %USERPROFILE%\Favorites", without the quotes. And the result was
OK, it was "C:\Document and Settings\<my account>\Favorites". So,
CMD.EXE could access the correct value of USERPROFILE, but my
Favorites didn't appeared again in the Explorer Menu.
Finally, I went to the registry at
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders], and I replaced the original value
"%USERPROFILE%\Favorites" by "C:\Document and Settings\<my
account>\Favorites", again without the quotes, and Shazam!!!!, my
Favorites appeared again in the explorer menu!!!!!!!!!!!!!!!
So, apparently, the problem is that the USERPROFILE system variable
can be seen without any problem from the CMD.EXE shell but not from
the Explorer Shell. How to fix that? How dangerous could be this
situation? How could this happened?
Thanks
Juan I. Cahis
Santiago de Chile (South America)
Note: Please forgive me for my bad English, I am trying to improve it!
I have a problem with "Favorites" and the USERPROFILE system variable.
First, I noticed that IE and all the Ms Explorer windows lost the
option to display the Favorites. If I clicked the "Favorites" Menu,
only the "Add to Favorites" and "Organize Favorites" appeared, but if
I clicked any of these two options, they didn't do anything.
But the "Favorites" folder was alive and well, if I went to the
"C:\Documents and Settings\<my account>\Favorites", all my Favorites
were there, and they could be seen without any problem, either from
the explorer or from the CMD.EXE shell. I checked the security
permissions of the Favorites folder and all were OK.
The next step was to do the following command from a CMD.EXE shell:
"SET %USERPROFILE%\Favorites", without the quotes. And the result was
OK, it was "C:\Document and Settings\<my account>\Favorites". So,
CMD.EXE could access the correct value of USERPROFILE, but my
Favorites didn't appeared again in the Explorer Menu.
Finally, I went to the registry at
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders], and I replaced the original value
"%USERPROFILE%\Favorites" by "C:\Document and Settings\<my
account>\Favorites", again without the quotes, and Shazam!!!!, my
Favorites appeared again in the explorer menu!!!!!!!!!!!!!!!
So, apparently, the problem is that the USERPROFILE system variable
can be seen without any problem from the CMD.EXE shell but not from
the Explorer Shell. How to fix that? How dangerous could be this
situation? How could this happened?
Thanks
Juan I. Cahis
Santiago de Chile (South America)
Note: Please forgive me for my bad English, I am trying to improve it!