INSTALLFONTS
— Install font files.
Syntax:
INSTALLFONTS
/O /X
filename…
/O | overwrite existing files in the Fonts directory |
/X | delete source files after successful install |
filename… | the files to install |
You must specify at least one filename. Wildcards are supported.
Matching files will be copied to C:\Windows\Fonts, and entries will be created in the registry.
This command requires elevation (‘Run as Administrator’). So far, I have only tested it with .TTF and .OTF files.
rem Install fonts from the C:\Download directory:
installfonts c:\download\*