wikoh Posted February 21, 2005 Report Share Posted February 21, 2005 I've tried to assign a different location to Shared Documents, using TweakUI, but it won't have any effect. Anyone knows of the registry setting? Quote Link to comment Share on other sites More sharing options...
homecomputeraid Posted February 21, 2005 Report Share Posted February 21, 2005 What kind of OS for the Shared Documents? Is it a peer-to-peer (home), or Active Directory (Corporate Server) environment? Quote Link to comment Share on other sites More sharing options...
nellie2 Posted February 26, 2005 Report Share Posted February 26, 2005 Oops, I think WillKoh pressed the wrong button when he replied, here is his answer;It's peer-to-peer , and the shared documents exisfs on a local computer even if there's no network.... Quote Link to comment Share on other sites More sharing options...
Zfactor Posted February 26, 2005 Report Share Posted February 26, 2005 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 alongwith 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 pathNo 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 redirectedsuccessfully.OREasy to script the change with e.g. VBScript, below is ascript that does this (put it in a file with .vbs extensionand double click on it).'--------------------8<----------------------' Change to correct path heresMyPath = "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<---------------------- Quote Link to comment Share on other sites More sharing options...
wikoh Posted February 27, 2005 Author Report Share Posted February 27, 2005 ...and how can I change "ALLUSERSPROFILE% to say, D:\All so I dont have to change each setting? Quote Link to comment Share on other sites More sharing options...
wikoh Posted February 27, 2005 Author Report Share Posted February 27, 2005 I just what to inform everyone that I've solved it, you just have to create an ALLUSERSPROFILE env.variable, and it will become in effect even thought windows' doesn't use one by default (at least not one you can see)... Quote Link to comment Share on other sites More sharing options...
Zfactor Posted February 28, 2005 Report Share Posted February 28, 2005 ...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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.