Jump to content

Shared Documents (How to move)


Recommended Posts

How-To: (click here)

Open Registry Editor (Regedit.exe) and navigate to:

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

In the right-pane, double-click "Common Documents". The default value is:

"%ALLUSERSPROFILE%\Documents".

Change the value to the redirected folder, say 'D:\SharedDocs'

To redirect the Shared Music, Shared Pictures and Shared Video folder along

with Shared Documents, try this:

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

In the right-pane:

- Create a REG SZ named CommonMusic and set it's path

- Create a REG SZ named CommonPictures and set it's path

- Create a REG SZ named CommonVideo and set it's path

No space in between these words (CommonVideo, CommonMusic, CommonVideo).

One space in between (Common Documents)

Logoff and login back. See that the Shared folders are now redirected

successfully.

OR

Easy to script the change with e.g. VBScript, below is a

script that does this (put it in a file with .vbs extension

and double click on it).

'--------------------8<----------------------

' Change to correct path here

sMyPath = "U:\Something"

Set oShell = CreateObject("WScript.Shell")

oShell.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\" _

& "Explorer\Shell Folders\Common Documents", sMyPath, "REG_SZ"

oShell.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\" _

& "Explorer\User Shell Folders\Common Documents", sMyPath, "REG_EXPAND_SZ"

WScript.Echo "Finished, please log off and on to see the change"

'--------------------8<----------------------

Link to comment
Share on other sites

...and how can I change "ALLUSERSPROFILE% to say, D:\AllĀ  so I dont have to change each setting?

Erm, glad to see you solved the problem, but what I don't get is that the quote I stuck up there says to just change the alluserprofile line to whatever you want to...

If that didn't work can you tell me so that I don't direct other people to this link in the future?

thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy