I am running the following commands through a .bat
file:
copy "SoleSurvivor.ttf" "%SYSTEMROOT%\fonts"
copy "SoleSurvivor.ttf" "%USERPROFILE%\AppData\Local\Microsoft\Windows\Fonts"
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Sole Survivor (TrueType)" /t REG_SZ /d SoleSurvivor.ttf /f
Even though the registry is edited correctly and the file SoleSurvivor.ttf
is copied to %USERPROFILE%\AppData\Local\Microsoft\Windows\Fonts
, the font is not installed.
Why is not working and what can I do?