Moving location of shared documents

G

Guest

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
 
R

Ramesh, MS-MVP

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

Torgeir Bakken \(MVP\)

RichO said:
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.
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<----------------------
 
G

Guest

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

Guest

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 said:
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 said:
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
 
R

Ramesh, MS-MVP

Create a new value.

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


tom said:
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 said:
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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top