Windows 10: how Windows works with these Users Personal Folders ?

Discus and support how Windows works with these Users Personal Folders ? in User Accounts and Family Safety to solve the problem; Hi there, I've been searching but I can't find a solution to my problem. Let me explain to you *Smile It's a long story about folders, french names... Discussion in 'User Accounts and Family Safety' started by Govi59, Nov 29, 2016.

  1. Govi59 Win User

    how Windows works with these Users Personal Folders ?


    Hi there,
    I've been searching but I can't find a solution to my problem. Let me explain to you *Smile

    It's a long story about folders, french names and english names... Here are screenshots from my computer (french). To explain my problem, I will use the example of the Music folder. The french name is Musique. I am on 1607.

    1. Initial situation (everything is fine) :
    Here is a view of the user folder :

    how Windows works with these Users Personal Folders ? [​IMG]

    The path of the Musique folder :
    how Windows works with these Users Personal Folders ? [​IMG]

    And the "real path" of the Musique folder :
    how Windows works with these Users Personal Folders ? [​IMG]


    2. Now, I try to change names to see what happens :
    I use the "Rename" function from the context menu. The result :

    how Windows works with these Users Personal Folders ? [​IMG]


    how Windows works with these Users Personal Folders ? [​IMG]


    how Windows works with these Users Personal Folders ? [​IMG]

    As expected, the real path doesn't change, just the displayed path.
    So there are two names for this kind of folders :
    - the displayed name (Musique)
    - the real name (Music)

    3. Here comes cmd :
    Great. We go back to normal and we copy a file (C:\testfile.txt) in the music folder.

    how Windows works with these Users Personal Folders ? [​IMG]

    I use the real name because %UserProfile%\Musique\ doesn't exist !

    The result :

    how Windows works with these Users Personal Folders ? [​IMG]


    how Windows works with these Users Personal Folders ? [​IMG]


    how Windows works with these Users Personal Folders ? [​IMG]

    Gasp ! Where is my sweet displayed name ? And the music icon ?
    Moreover, the link in "Quick access" and "This computer" is dead.

    4. A solution :
    OK... OK... I'm going to fix it... Right click, properties... Yes ! A "location" tab.

    how Windows works with these Users Personal Folders ? [​IMG]

    So I change the location to C:\Users\Govi\Music, then OK, validate etc. And...
    Everything is back to normal !

    5. Not satisfied :
    Okay so I can come back to normal by creating again a Music folder and by doing a redirection from Musique to Music. What a boring stuff..! Can't I do it via command lines ?

    So, I copy my file :
    how Windows works with these Users Personal Folders ? [​IMG]

    Then I try to rename the folder :
    how Windows works with these Users Personal Folders ? [​IMG]

    The result :

    how Windows works with these Users Personal Folders ? [​IMG]


    how Windows works with these Users Personal Folders ? [​IMG]


    how Windows works with these Users Personal Folders ? [​IMG]

    Nooooo. Of course it hasn't worked... And I created a new "Musique" folder, but not a User Personal Folder : a standard folder. Indeed, there is no more the "Location" tab in properties :

    how Windows works with these Users Personal Folders ? [​IMG]


    6. My question :
    Can anyone help me to understand how Windows works with theese Users Personal Folders ? And how can I manipulate them (without breaking them !) with command lines or registry tweaks ?

    Thank you for reading my story, and thank you for your help ! *Smile

    Govi

    :)
     
    Govi59, Nov 29, 2016
    #1
  2. Andre Da Costa, Nov 29, 2016
    #2
  3. Changed Video Personal Folder to User Folder Location cannot move back

    Sorry I am not sure how this helps?

    The problem I have is outlined in the article above: Assume that you changed the location of a personal folder in Windows, such as Documents or Downloads, and mapped the folder to another personal folder. When you try
    to change the location of the folder again, the operation fails.

    Only with the difference that I did not use a personal folder but the parent folder (the user profile folder). Updating the registry like suggested in the article did not fix the issue the Video personal folder is still
    mapped with the user profile folder.
     
    MichaelBrunner, Nov 29, 2016
    #3
  4. Govi59 Win User

    how Windows works with these Users Personal Folders ?

    Hey,
    I think the solution is near... I searched and I found a hidden system file in the Music folder : desktop.ini
    (we can have access to it with cmd. The attrib command shows the file is an archive (A), system (S) and hidden (H) file.

    how Windows works with these Users Personal Folders ? [​IMG]


    And this is what there is inside this desktop.ini file :
    [.ShellClassInfo]
    LocalizedResourceName=@%SystemRoot%\system32\windows.storage.dll,-21790
    InfoTip=@%SystemRoot%\system32\shell32.dll,-12689
    IconResource=%SystemRoot%\system32\imageres.dll,-108
    IconFile=%SystemRoot%\system32\shell32.dll
    IconIndex=-237

    The thing is I don't know well how DLLs work...

    [Edit: I've just tried again to copy with cmd (part 3). As expected, the displayed name changes, the real name remains, but the desktop.ini file is exactly the same. So I guess this file doesn't control the displayed name.]
     
    Govi59, Nov 29, 2016
    #4
  5. Kari Win User
    Core of Windows is always in English. Whatever language your Windows is, the system files and folders, native Windows applications and libraries always have English names.

    What File Explorer shows when you open your user folder is not folders. They are links to folders, these links using localized names. Musique you will see in your user folder in File Explorer, Musiikki in my Finnish Windows or Musik in Swedish Windows are just localized, translated links (kind of shortcuts) to folder Music.

    The same with all user folders. Your French Windows shows a link Bureau in File Explorer, my Finnish Windows shows the same link named as Työpöytä, a German user sees that link named as Arbeitsplatz. All them are links to a folder Desktop.

    This is of course as it should be. It would simply be too much to translate all of Windows, when this simple solution works: the core of Windows, its folder names, native application names, libraries and so on all have English names. The GUI, user interface like File Explorer then uses localized, translated names as links to offer a user experience in user's own language. Keeping the actual file, folder, application and library names same in all language versions of Windows is there to make Windows easier to use for you in French or for me in Finnish.

    An example: Let's say a media player app searches playable music files in %userprofile%\Music folder by default. If this folder would have a different name in French, the makers of said application would need to add code to make the app search music in %userprofile%\Music and %userprofile%\Musique folders. If the app would also be made available in Swedish market, they would need add code to make app search music in %userprofile%\Music, %userprofile%\Musique and %userprofile%\Musik folders.

    For each country and Windows language, an individual setting would be needed. That would be both extremely stupid and impractical.

    The same with for instance folder Program Files. In all language versions of Windows the folder name is in English. When I install a program, the coders only need to define install location as C:\Program Files, regardless of the language of my Windows. It would be plain stupid if installer would need to know the localized name of that folder in every language. The program will be installed in Program Files folder, yet when I open File Explorer in my Finnish Windows it shows me that it's in Ohjelmatiedostot which is the localized, translated link to Program Files folder shown to me.

    This applies to all native Windows applications, too. In Swedish Windows I can search for an application Anteckningar, or in Finnish Windows application Muistio. These both are just localized links to an application with an English name notepad.exe in all language versions of Windows. Using localized links to these apps a user can search and see them in Start in his / her local language.

    You should never change names of Windows system files and folders, nor should you change names of the localized names (links).
     
  6. Govi59 Win User
    Hi Kari,
    thank you for your (large !) answer.

    Actually, I already know what you are talking about and that's what I say in my first post :
    My question is not about "Why Windows is in English ?" but more about the manipulation with command lines and registry tweaks : when I do number 3 (using xcopy in cmd), the displayed name changes, and this is my problem !

    To summarize :
    - I want to copy something to the user personal folder with command lines
    - The displayed name of the user personal folder changes
    - If I rename it manually (context menu > rename), the displayed name changes correctly
    - If I rename it with command lines, the real name changes. And I don't want it ! The only way I've found to fix it is to change the location of the user personal folder by re-creating a user personal folder with the original English name.

    Thank you !

    Govi
     
    Govi59, Nov 30, 2016
    #6
  7. Govi59 Win User
    Bump!
    I'm still looking for a solution to manipulate with cmd theese folders... *Huh
     
    Govi59, Dec 5, 2016
    #7
  8. Kari Win User

    how Windows works with these Users Personal Folders ?

    The solution is of course to use correct command syntax.

    By default Xcopy resets file and folder attributes. Adding switch /K to Xcopy command, those attributes will be kept.

    This command would reset the name and shortcut of the link %userprofile%\Musique, setting the name to Music and changing the link's custom icon to a generic folder icon:

    Code: xcopy X:Music\*.* %userprofile%\Music[/quote]
    This command would not reset the name and shortcut of the link %userprofile%\Musique, keeping the link's localized name Musique and its original icon:

    Code: xcopy X:Music\*.* %userprofile%\Music /K[/quote]
     
    Kari, Dec 5, 2016
    #8
  9. Govi59 Win User
    Oh thank you so much Kari ! *BiggrinIt works perfectly.
     
    Govi59, Apr 5, 2018
    #9
Thema:

how Windows works with these Users Personal Folders ?

Loading...
  1. how Windows works with these Users Personal Folders ? - Similar Threads - works Users Personal

  2. Personal Folders Not Showing Up in User's Files

    in Windows 10 Software and Apps
    Personal Folders Not Showing Up in User's Files: When I click on the User's File icon on my desktop, it opens up, but some of the personal folders are missing. They are present in the quick access menu on the left. They are also present in C:\Users\[user name]\. It's only when I open the User's File icon on the desktop that...
  3. Personal Folders Not Showing Up in User's Files

    in Windows 10 Gaming
    Personal Folders Not Showing Up in User's Files: When I click on the User's File icon on my desktop, it opens up, but some of the personal folders are missing. They are present in the quick access menu on the left. They are also present in C:\Users\[user name]\. It's only when I open the User's File icon on the desktop that...
  4. What is these files in my inside of person's folder in "Users"? C:/Users/User

    in Windows 10 Gaming
    What is these files in my inside of person's folder in "Users"? C:/Users/User: So i just browsing to my folders and i found these 2 random files in my [username] folder.What is Desktop.SED and ~Desktop.DDF files? https://answers.microsoft.com/en-us/windows/forum/all/what-is-these-files-in-my-inside-of-persons-folder/392957a5-5f4f-4f4a-b542-c5ee4b28ad60
  5. What is these files in my inside of person's folder in "Users"? C:/Users/User

    in Windows 10 Network and Sharing
    What is these files in my inside of person's folder in "Users"? C:/Users/User: So i just browsing to my folders and i found these 2 random files in my [username] folder.What is Desktop.SED and ~Desktop.DDF files? https://answers.microsoft.com/en-us/windows/forum/all/what-is-these-files-in-my-inside-of-persons-folder/392957a5-5f4f-4f4a-b542-c5ee4b28ad60
  6. Trying to change the location of Users folder or my personal user folder

    in Windows 10 Network and Sharing
    Trying to change the location of Users folder or my personal user folder: I am having an issue which is: by default, the user file location should be: C:\Users\<username>, but mine is C:\Users\Users\<username>.It's very annoying and I really want to fix it by moving the user folder or Users folder....
  7. Trying to change the location of Users folder or my personal user folder

    in Windows 10 Gaming
    Trying to change the location of Users folder or my personal user folder: I am having an issue which is: by default, the user file location should be: C:\Users\<username>, but mine is C:\Users\Users\<username>.It's very annoying and I really want to fix it by moving the user folder or Users folder....
  8. Trying to change the location of Users folder or my personal user folder

    in Windows 10 Software and Apps
    Trying to change the location of Users folder or my personal user folder: I am having an issue which is: by default, the user file location should be: C:\Users\<username>, but mine is C:\Users\Users\<username>.It's very annoying and I really want to fix it by moving the user folder or Users folder....
  9. Windows C > Users > personal folder missing

    in Windows 10 Installation and Upgrade
    Windows C > Users > personal folder missing: I need to preface my question by saying I am not very computer savvy, as will be seen momentarily. I was attempting to install a program on a new computer. After I downloaded the file to the computer, I was unable to locate it. I looked for it in the location I thought I...
  10. How to change the "logical" name of personal folder C:\Users\%username%

    in Windows 10 Network and Sharing
    How to change the "logical" name of personal folder C:\Users\%username%: %username% is ANIL. However, I don't see "ANIL" under C:\Users. Instead I see "Documents" logical name. Physical path is C:\Users\ANIL which is correct. [ATTACH] How can I remove this logical reference of "Documents" and revert to its actual name i.e., "ANIL" ? Thanks...