Instaling Fonts

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of Olaf Soyk Olaf Soyk 2 months ago.

  • Author
  • #68941
    Profile photo of Malcolm J
    Malcolm J

    Hi Powershell People!.
    I have a DVD with a load of fonts in the "E:\Fonts\Standard\*.ttf" Folder.
    I need to install all of these to the "C:\Windows\Fonts" Folder, sounds unbelievably simple.
    I can't crack it. Any pointers or suggestions gratefully accepted.
    Malcolm J.

  • #69126
    Profile photo of Cole
    $fontpath = "E:\Fonts\Standard\"
    $fontdest = "C:\Windows\Fonts\"
    Copy-Item -path $fontpath -include "*.ttf" -destination $fontdest

    Something like this should get you what you need. It will copy any file that is a .ttf to the C:\Windows\Fonts folder.

You must be logged in to reply to this topic.