TIA
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...
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
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??
--
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...