Instaling Fonts

This topic contains 3 replies, has 3 voices, and was last updated by  Olaf Soyk 4 months, 4 weeks ago.

  • Author
    Posts
  • #68941

    Malcolm J
    Participant

    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.
    Thanks
    Malcolm J.

  • #69126

    Cole
    Participant
    $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.