Quick install fonts .bat batch script

Because artists often do, not what fonts installed on the summer only for the notebook, this time to find a font resource, simply a one-time installed ~

Download the font package is \ (. Zip \) compressed file, unzip if a point \ (. Ttf \) file to install more trouble, so write a Windows batch scripts to quickly install the fonts to the system.

Windows Fonts folder path is usually: C: Windows \ Fonts we can in a batch with %% windir instead of in front of the C: \ Windows

After the script principle is to extract the current directory of all the font files are copied to all the font folder.

(Need to run as a system administrator .bat)

@echo off
title 字体批量安装
cd /d %~dp0
cls
copy /y * "%windir%\Fonts"
@echo 按任意键退出
pause

Guess you like

Origin www.cnblogs.com/zhwer/p/12230159.html