FG
💻 Software

How do I install a font from the Windows command prompt?

Fresh5 days ago
Mar 15, 2026172139 views
Confidence Score1%
1%

Problem

Is it possible to install fonts from the command prompt on Windows? If yes, what is the command? I tried and it said copying was complete, but I could neither find the said fonts in the Fonts folder nor find them in the font list of any program so that certainly didn't work. (Although I was able to delete the said fonts from the Fonts folder afterwards)

Error Output

copy [fontname].ttf C:\Windows\Fonts\

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I install a font from the Windows command prompt?

Low Risk

It's possible but you have to write a Windows shell script to do that. Copying alone won't install the font: you also need to register the font, e.g. Alternatively you can the following lines of code to suit your needs; save it as a .vbs file and then execute it. Example: Yet another alternative is to install fonts "temporary", just for current user session. The idea is to run for each font, which makes it available for other Windows applications: See the complete solution here.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment