1. Join Date : Oct 2016
    Posts : 8
    64 bits Windows 10 home
       4 Days Ago #1

    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

    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 :
    Click image for larger version. 

Name:	situation-initiale.PNG 
Views:	30 
Size:	7.9 KB 
ID:	111970
    The path of the Musique folder :
    Click image for larger version. 

Name:	Capture.PNG 
Views:	30 
Size:	1.9 KB 
ID:	111971

    And the "real path" of the Musique folder :
    Click image for larger version. 

Name:	renommer-chemin-reel.PNG 
Views:	30 
Size:	1.1 KB 
ID:	111972


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

Name:	renommer.PNG 
Views:	30 
Size:	7.8 KB 
ID:	111973
    Click image for larger version. 

Name:	renommer-chemin.PNG 
Views:	30 
Size:	1.8 KB 
ID:	111974

    Click image for larger version. 

Name:	renommer-chemin-reel.PNG 
Views:	30 
Size:	1.1 KB 
ID:	111972

    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.
    Click image for larger version. 

Name:	copie.PNG 
Views:	30 
Size:	2.0 KB 
ID:	111975

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

    The result :
    Click image for larger version. 

Name:	vue-apres-copie.PNG 
Views:	30 
Size:	7.9 KB 
ID:	111976
    Click image for larger version. 

Name:	chemin-apres-copie.PNG 
Views:	30 
Size:	2.0 KB 
ID:	111977

    Click image for larger version. 

Name:	chemin-reel-apres-copie.PNG 
Views:	30 
Size:	1.2 KB 
ID:	111978

    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.
    Click image for larger version. 

Name:	proprietes.PNG 
Views:	30 
Size:	12.1 KB 
ID:	111962

    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 :
    Click image for larger version. 

Name:	copie.PNG 
Views:	30 
Size:	2.0 KB 
ID:	111975

    Then I try to rename the folder :
    Click image for larger version. 

Name:	renommer-cmd.PNG 
Views:	30 
Size:	1.8 KB 
ID:	111965

    The result :
    Click image for larger version. 

Name:	vue-apres-renommer-cmd.PNG 
Views:	30 
Size:	8.0 KB 
ID:	111969
    Click image for larger version. 

Name:	chemin-apres-renommer-cmd.PNG 
Views:	30 
Size:	2.0 KB 
ID:	111966

    Click image for larger version. 

Name:	chemin-reel-apres-renommer-cmd.PNG 
Views:	30 
Size:	1.2 KB 
ID:	111967

    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 :
    Click image for larger version. 

Name:	proprietes-apres-renommer-cmd.PNG 
Views:	30 
Size:	4.8 KB 
ID:	111968


    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 !

    Govi
    Last edited by Govi59; 4 Days Ago at 09:27.
      My System SpecsSystem Spec


  2. Join Date : Oct 2016
    Posts : 8
    64 bits Windows 10 home
       4 Days Ago #2

    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.
    Click image for larger version. 

Name:	Capture.PNG 
Views:	25 
Size:	2.0 KB 
ID:	111997


    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.]
      My System SpecsSystem Spec


  3. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,066
    Windows 10 Pro
       4 Days Ago #3

    Govi59 said: View Post
    I think the solution is near...
    There is no solution as there is no issue.

    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).

    Kari
      My System SpecsSystem Spec


  4. Join Date : Oct 2016
    Posts : 8
    64 bits Windows 10 home
       3 Days Ago #4

    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 :
    Govi59 said: View Post
    As expected, the real path doesn't change, just the displayed path.
    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
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
Users Personal Folders - Restore Default Location in Windows 10
How to Restore Default Location of Your Personal Folders in Windows 10 You can change the location of the folders in your personal folder (such as Documents and Pictures) by redirecting them. For example, if you have a large number of files in...
Tutorials
Windows users and folders.
Hello guys. I need some help with the user account (both run as admin). I have some files in the 1st account (a folder for example) and when i change user i don't have it . The folder at the security tab is to system with full control . I don't...
Network and Sharing
Configure users with Office 365 Business and Personal on same system
I have a few cases where a company employee already has their own paid subscription to Office 365 Personal on their laptops but they need to have the copy of Office 365 Small Business Premium that is linked to their company email account in order to...
General Support
Solved Does recovery disk save personal folders and files
I got a new windows 10 laptop a few weeks ago and I'm belatedly getting around to creating a system recovery disk on usb. I'm intending to use the standard windows 10 option 'create a recovery drive'. Someone mentioned that among other things this...
Installation and Setup
SAP users --Good news SAP GUI (7.40) WORKS with Windows 10 build 10240
Hi there Mega good news for SAP users - SAP GUI 7.40 runs just fine in Windows 10 build 10240 -- I couldn't get SAP GUI to work with Windows 8 / 8.1 at all. The GUI worked but Logon failed. Now LOGON works just fine wherever the SAP DB /...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:30.
Find Us
Twitter Facebook Google+



Windows 10 Forums