I know name of my font, how to detect path from command line ?
I read this post, but solution show only fonts on the system without path.
I know name of my font, how to detect path from command line ?
I read this post, but solution show only fonts on the system without path.
Windows 10 1803 has introduced fonts in the Microsoft Store. This required to allow a font to be installed for a specific user rather than system-wide. That’s why no admin action is needed when fonts acquired from the Store are installed.
This change meant that there now exist two repositories for fonts:
Fonts for all users, residing in folder
C:\Windows\Fonts
and listed in the registry at key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
.
Fonts for the current user, residing in folder
C:\Users\USER\AppData\Local\Microsoft\Windows\Fonts
and listed in the registry at key
HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
.
To list all fonts, you will need to query both registry keys that I listed above. For each font under one of the two registry keys, you will then know its folder.
C:\Windows\Fonts
.