James, On Fri, 5 Jun 2009 21:10:53 +0100, James Rankin wrote:
>My Documents is set via a registry key so can easily be done by reg.exe in a >batch script, or GPO if you prefer. Can't remember the reg key offhand, but >reg.exe definitely will cut it in for you (it is somewhere in HKCU) Tried this. Didn't work. I'vwe tried using these keys: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Explorer\User Shell Folders\Personal HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Explorer\Shell Folders\Personal >2009/6/5 IS Technical <[email protected]> >> Anyone know if it possible to change the location of MY DOCUMENTS >> on-the-fly >> after a user logs in using a batch file or script? >> >> This is for a Windows XP Pro machine running on a network with no DC. >> >> I've tried importing the relevant reg keys from a script but this doesn't >> seem to work. >> >> Thanks.. >> >> >> Regards, >> Charles >> >> --- >> Charles Figueiredo PhD >> Integrated Solutions - Enhancing Small Business Systems >> --- >> >> >> >> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ >> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> >> >~ Finally, powerful endpoint security that ISN'T a resource hog! ~ >~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> Regards, Charles --- Charles Figueiredo PhD Integrated Solutions - Enhancing Small Business Systems --- ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~
