Instaling Fonts

Welcome Forums General PowerShell Q&A Instaling Fonts

This topic contains 3 replies, has 3 voices, and was last updated by

2 years, 2 months ago.

  • Author
  • #68941

    Topics: 3
    Replies: 6
    Points: 0
    Rank: Member

    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

    Topics: 0
    Replies: 10
    Points: 21
    Rank: Member
    $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.

The topic ‘Instaling Fonts’ is closed to new replies.