Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Moving location of shared documents

3 views
Skip to first unread message

RichO

unread,
Feb 2, 2005, 3:47:02 AM2/2/05
to
Hi, anyone know how to move the location of the shared documents folder on a
multi-user XP system? I have an iTunes and photo database that I wish to
share with the other user (we have 2x iPODs), but want to move it to a new
volume and keep seperate from my system volume incase of drive failure. Also
because I'm running out of space on the system drive.

TIA

Ramesh, MS-MVP

unread,
Feb 2, 2005, 5:09:16 AM2/2/05
to
Hi RichO,

To redirect "Shared Documents" folder, read below:

Courtesy of Keith Miller:

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.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"RichO" <Ri...@discussions.microsoft.com> wrote in message
news:3DDF84CB-FA92-4C8C...@microsoft.com...

Torgeir Bakken (MVP)

unread,
Feb 2, 2005, 5:41:21 AM2/2/05
to
RichO wrote:

Hi

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<----------------------


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

RichO

unread,
Feb 3, 2005, 6:07:03 PM2/3/05
to
Many thanks both - I tried Torgeir's method and inserted

sMyPath = "F:\"

as the path, logged off and back on - now I cannot find any shared document
folder at all!! Help - how do I get it back??

RichO

unread,
Feb 15, 2005, 7:13:04 PM2/15/05
to
All sorted now - I didnt realise you needed to create the folder - thanks

tom

unread,
Feb 19, 2005, 4:35:01 PM2/19/05
to
I have just partitioned my hard drive. I want to move Shared Documents to the
new Partition. However the "Common Documents" key does not exist in my "User
Shell Folders"??? Do I create a new key?? or What??

Ramesh, MS-MVP

unread,
Feb 19, 2005, 11:06:17 PM2/19/05
to
Create a new value.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"tom" <t...@discussions.microsoft.com> wrote in message
news:96DD641A-38B6-47FC...@microsoft.com...

0 new messages