1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Deleting folders in My documents

Discussion in 'Windows XP' started by alex98uk, 2007/01/09.

  1. 2007/01/09
    alex98uk

    alex98uk Inactive Thread Starter

    Joined:
    2004/08/27
    Messages:
    187
    Likes Received:
    0
    Is there any way to get rid of the "My music ", "My pictures" and "My videos" folders in my documents? I delete them but they reappear again later.

    Thanks
     
  2. 2007/01/09
    Bill Castner

    Bill Castner Inactive

    Joined:
    2006/08/30
    Messages:
    1,980
    Likes Received:
    0
    Start, Run, regsvr32 /u mydocs.dll

    Do the deletions.
     

  3. to hide this advert.

  4. 2007/01/09
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    alex98uk,
    excuse me for hijacking your thread but I would like to ask Bill a question (and his answer may be of consequence to you as well):

    Does unregistering mydocs.dll have an effect on how subsequently installed programs identify the location of the My Documents folder?

    An example: I have moved the My Documents folder to D:\My Documents and after that, I installed Office XP which identified the location and defaulted to it.

    If I had unregistered mydocs.dll, would Office XP still be able to identify the location?

    Thanks,
    Christer
     
  5. 2007/01/09
    Bill Castner

    Bill Castner Inactive

    Joined:
    2006/08/30
    Messages:
    1,980
    Likes Received:
    0
    Windows XP stores the location of per-user special folders (including Internet Explorer Favorites location) here:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]

    My Documents is handled in a similar fashion, but in a different registry entry.

    What unregistering the mydocs.dll does is essentially:
    • Prevent an autorefresh of special folders;
    • Prevents enforcement of this key:

      [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
      DisablePersonalDirChange of type DWORD

      Note: changing this value to 0 is unlikely to help you if mydocs.dll is still registered, although you can delete the entry completely. Not recommended.
    It should not effect the ability of XP to find folders, including My Documents.

    Note #2: If you have any issues, re-register the control:

    Start, Run, regsvr32 /i mydocs.dll
     
  6. 2007/01/09
    Christer

    Christer Geek Member Staff

    Joined:
    2002/12/17
    Messages:
    6,585
    Likes Received:
    74
    Thanks Bill!

    Christer
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.