有时候windows用户文件夹里面有些会变成英文,虽然没什么影响,不过强迫症会不舒服(比如我)
现象

这种情况是由于文件夹内没有desktop.ini导致的,或者desktop.ini权限不正确

desktop.ini 文件是一个隐藏文件

windows10的desktop.ini文件内容

下载:

1
2
3
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21798
IconResource=%SystemRoot%\system32\imageres.dll,-184

桌面:

1
2
3
4
5
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769
IconResource=%SystemRoot%\system32\imageres.dll,-183
[{E8A54E83-A4A0-4C7F-B391-DF76B9DB9690}]
AppID={1EC9B-E1972AA-E5401EC-9BE1-932A-EE540}

文档:

1
2
3
4
5
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770
IconResource=%SystemRoot%\system32\imageres.dll,-112
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-235

图片:

1
2
3
4
5
6
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779
InfoTip=@%SystemRoot%\system32\shell32.dll,-12688
IconResource=%SystemRoot%\system32\imageres.dll,-113
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-236

视频:

1
2
3
4
5
6
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779
InfoTip=@%SystemRoot%\system32\shell32.dll,-12688
IconResource=%SystemRoot%\system32\imageres.dll,-113
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-236

音乐:

1
2
3
4
5
6
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790
InfoTip=@%SystemRoot%\system32\shell32.dll,-12689
IconResource=%SystemRoot%\system32\imageres.dll,-108
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-237

3D对象:

1
2
3
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\windows.storage.dll,-21825
IconResource=%SystemRoot%\system32\imageres.dll,-198

重新授权

1
2
3
4
5
6
7
attrib +R "%UserProFile%\3D Objects"
attrib +R "%UserProFile%\Videos"
attrib +R "%UserProFile%\Pictures"
attrib +R "%UserProFile%\Documents"
attrib +R "%UserProFile%\Downloads"
attrib +R "%UserProFile%\Music"
attrib +R "%UserProFile%\Desktop"