Help - Search - Members - Calendar
Full Version: Export, Import UserShellFolder
MSFN Forums > Customizing Windows and Graphics > Windows Tips 'n' Tweaks

   
Google Internet Forums Unattended CD/DVD Guide
hannubys
Hi guys! Every time I reinstall my computer I waste my time to modify the location of my personnal folders so I decided to export my registry user shell folder and Shell folder. I first cleaned it and I have this:
CODE
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"Favorites"=hex(2):44,00,3a,00,5c,00,46,00,61,00,76,00,6f,00,72,00,69,00,74,00,\
65,00,73,00,00,00
"My Music"=hex(2):44,00,3a,00,5c,00,4d,00,75,00,73,00,69,00,63,00,00,00
"My Pictures"=hex(2):44,00,3a,00,5c,00,50,00,69,00,63,00,74,00,75,00,72,00,65,\
00,73,00,00,00
"My Video"=hex(2):44,00,3a,00,5c,00,56,00,69,00,64,00,65,00,6f,00,73,00,00,00
"Personal"=hex(2):44,00,3a,00,5c,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,\
74,00,73,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"My Video"="D:\\Videos"
"My Pictures"="D:\\Pictures"
"Favorites"="D:\\Favorites"
"My Music"="D:\\Music"

I would like to know if I can just import it for the next time that I reinstall my computer or this method is not recommended ?
Arie
You can simply import it during your unattended installation... but I see that you refer to a D-drive, so make sure that the drive exists.
hannubys
QUOTE (Arie @ Feb 28 2008, 04:04 AM) *
You can simply import it during your unattended installation... but I see that you refer to a D-drive, so make sure that the drive exists.


I use Vlite and it doesn't give this option for my unattend file. can you show me wich tag I have to add in my unattend file. I have only one disk. the D-drive is just the other partition
Arie
It's not something to add to your unattended file. You simply import the REG-file at T13 for example. You can write a batch script to check for the existance of a D-drive. Have you read the whole Unattended Guide?
hannubys
QUOTE (Arie @ Feb 29 2008, 05:34 AM) *
It's not something to add to your unattended file. You simply import the REG-file at T13 for example. You can write a batch script to check for the existance of a D-drive. Have you read the whole Unattended Guide?

yeah, i have saw that. I was also looking for something like <FolderLocations><Personal>... but i did not find out. what I did is just import the reg automatically from a batch file at my first logon (clean install) then I have killed and reload explorer. When I checked my folder I saw that everything was in double so i deleted the bad folder.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.