[K12OSN] regfile for redirect of My Documents
David Whitmer
dwblue02 at yahoo.com
Sat Jul 2 03:05:34 UTC 2005
--- Jason Ingalls <jingalls at ellsworthschools.org>
wrote:
> I've tried that as well. I haven't tried modifying
> "shell folders" AND "user
> shell folders" yet. I'm hoping that is it.
>
>
> --
> Jason Ingalls
> Ellsworth School Department
> IT Specialist
> 207-667-4722 Ext. 5529
> jingalls (at) ellsworthschools.org
>
Jason,
In case you and Chuck are still trying to get this to
work, here's what's worked for me.
In startup.bat I have the following:
c:
cd c:\chain
regedit /s c:\chain\startup.reg
Here's my startup.reg:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders]
"Desktop"="P:\\Desktop"
"Personal"="P:\\My Documents"
"My Pictures"="P:\\My Documents\\My Pictures"
"My Music"="P:\\My Documents\\My Music"
"My Video"="P:\\My Documents\\My Videos"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders]
"Desktop"="P:\\Desktop"
"Personal"="P:\\My Documents"
"My Pictures"="P:\\My Documents\\My Pictures"
"My Music"="P:\\My Documents\\My Music"
"My Video"="P:\\My Documents\\My Videos"
I based my .reg file on what I exported using
regedit.exe in Windows XP. All the above directories
already exist on the P: drive.
Something I noticed was that the export function used
"\\" instead of "\". Perhaps that makes a difference
in getting the import to work when running from the
batch file? Though I've only tried this in Windows
XP... perhaps older versions use "\".
David
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the K12OSN
mailing list