My Documents redirection bug


  1. Posts : 1
    W7 64 ENT
       #1

    My Documents redirection bug


    I'm sure many of you know that when you redirect My Documents to another location using the location option, Windows will display that folder as "My Documents", even though clicking on the address bar will reveal that the folder retains its original name. I suppose this in and of itself is a "feature" and not a bug.

    The problem is that if you redirect My Documents again (let's say back to the default directory), Windows will continue to display the other folder as "My Documents". This is because it does not delete the desktop.ini file that it creates there. This is a bug as far as I can tell.

    If you don't know what I'm talking about, do the following:

    1. Create a directory (e.g. C:\test)
    2. Right-click your My Documents folder and in the Location tab type C:\test
    3. the directory C:\test will now appear as C:\My Documents
    4. Now right click C:\My Documents, and in the Location tab point it back to the original location (or click Restore Default)
    5. C:\test will still display as C:\My Documents

    To fix it:

    6. In Folder Options turn off the "hide protected operating system files" option
    7. Go into the C:\My Documents folder and delete desktop.ini
    8. Windows will now properly display the folder as C:\test

    Hope that helps somebody!
      My Computer


  2. Posts : 17,796
    Windows 10, Home Clean Install
       #2

    anifauqa said:
    I'm sure many of you know that when you redirect My Documents to another location using the location option, Windows will display that folder as "My Documents", even though clicking on the address bar will reveal that the folder retains its original name. I suppose this in and of itself is a "feature" and not a bug.

    The problem is that if you redirect My Documents again (let's say back to the default directory), Windows will continue to display the other folder as "My Documents". This is because it does not delete the desktop.ini file that it creates there. This is a bug as far as I can tell.

    If you don't know what I'm talking about, do the following:

    1. Create a directory (e.g. C:\test)
    2. Right-click your My Documents folder and in the Location tab type C:\test
    3. the directory C:\test will now appear as C:\My Documents
    4. Now right click C:\My Documents, and in the Location tab point it back to the original location (or click Restore Default)
    5. C:\test will still display as C:\My Documents

    To fix it:

    6. In Folder Options turn off the "hide protected operating system files" option
    7. Go into the C:\My Documents folder and delete desktop.ini
    8. Windows will now properly display the folder as C:\test

    Hope that helps somebody!
    Welcome to the Forum
    Thank you so much for taking the time to help others of the forum. Feel free to come back any time to ask questions or to help, again. If you have any questions about your membership feel free to contact me.
      My Computer


  3. Posts : 1
    Windows 7
       #3

    My Documents missing


    Hello,

    I have found a similar thing, but with more weird issues. After I redirect the "My Documents" folder from

    C:\Users\Name\Documents to E:\Users\Name\Documents,

    it shows up in my profile as

    %USERPROFILE%\Documents instead of %USERPROFILE%\My Documents

    After this, I had a Documents folder and "My Documents" folder in my profile. The Documents folder pointed to the new location, whereas the My Documents folder pointed to the old.

    Whats is even more strange is that the Documents folder can be redirected back, and it merges the two. However, the My Documents folder is just the physical folder, C:\Use...\My Documents, and cannot be redirected.

    I just want to redirect the My Documents to another folder, then be able to have programs access it successfully with %USERPROFILE%\My Documents.

    If, after I redirect, I rename my new physical folder "My Documents" the system is nice and creates a desktop.ini file and everything is pretty. However, I don't want the folder named "My Documents"... no one likes spaces, right?

    Any thoughts?
      My Computer


  4. Posts : 1
    64 bit windows 7
       #4

    You must delete the desktop.ini file in order for the folder to show the correct user name. The question I have is how do you stop this from being created in the first place?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:22.
Find Us