Jump to content

Changing name of "my" folders


Paralityk

Recommended Posts

I was looking for answer but i found nothing :D Like in title :]

I was thinking about something like this:

Files
-Pictures
-Music

instead of this:

My Documents
-My Pictures
-My Music

Can someone help me?

Edited by Paralityk
Link to comment
Share on other sites


Two of these settings are defined within HIVEDEF.INF and can be altered by using

a custom .INF file from CMDLINES.TXT to change the appropriate registry keys.

HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal",0x00020000,"%USERPROFILE%\My Documents"

HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","My Pictures",0x00020000,"%USERPROFILE%\My Documents\My Pictures"

'My Music' is defined within the Windows Mediaplayer Preferences and can be

altered in the same way.

HKCU,"Software\Microsoft\MediaPlayer\Preferences","CDRecordPath",0x00020000,"%USERPROFILE%\My Documents\My Music"

You can also alter the first two manually by editing HIVEDEF.INF after

nLite has finished tailoring the installation and before it creates/burns

the image.

Open HIVEDEF.INF in a text editor. Notepad can be used but it's not very good.

Go directly to the end of the file and scroll up slowly until you find a

block of 'U_SHELL_FOLDERS_' entries.

U_SHELL_FOLDERS_PERSONAL="%USERPROFILE%\My Documents"

U_SHELL_FOLDERS_MYPICTURES="%USERPROFILE%\My Documents\My Pictures"

Link to comment
Share on other sites

Big thanks, this is exacly what i was looking for! Now i have to find some time to test it, and then i will say is that working ;)

UPDATE:

OK, i have time, and I am now altering this strings but I cant find 'My Music' string, even when I use CTRL+F and using "find in document" option, i cant find anything. Just like it doesn't exist :D

Also i changed My Computer name, and My Network Places (i dont remember the english ver. names) by the same way as My Documents, and My Pictures (but in other "*.INF" files)

Oh and what with that "cmdlines.txt" file I also can't find it :D

UPDATE 17.08.07

I'm soo sad, after succesfully modiyfing and burning CD, and installing Windows. Nothing changed! There was still the same folder names, except My Pictures Folder with was now in "%USERPROFILE%\Files\Pictures" (Just like i wanted) but everything else was like in normal windows. Then i asked myself WTF?! :D

Edited by Paralityk
Link to comment
Share on other sites

Hi Paralityk,

Sorry about the delay in getting back to you on this. I've been busy :)

Obviously I didn't make myself completely clear. "My Music" is not defined

in the installation hives. You can only get to it after installation. I would

suggest creating an .INF file and execute it using RunOnceEx.

The cmdlines.txt file is used to execute programs during an unattended

installation. The MSFN unattended installation guide can explain both of

these.

Also, have you considered using VMware Player and Daemon Tools to test

your installation disc images before burning them to physical media. It's

quicker and easier then having to burn a disc then test it. It will also save

on discs even if you are using rewritable media.

I hope this has been of more help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...