[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
本帖最后由 tmplinshi 于 2011-7-3 15:35 编辑

可以这样安装字体吗?我试了一下,看不到新安装的字体。难道要重启?

可以用 fontreg
  1. rem 安装当前目录所有字体
  2. fontreg /copy
复制代码

TOP

2# tms2010


xcopy 有/y这个参数吗?
guaiwu 发表于 2011-7-3 15:56

xcopy /?

TOP

本帖最后由 tmplinshi 于 2011-7-3 16:29 编辑
4# tmplinshi


请问 那个是命令吗 ?  我查了fontreg /?  都查不到。
guaiwu 发表于 2011-7-3 15:55


确实用 /? 看不到帮助。在 readme.txt 里面:
If you...

...run FontReg.exe without any command-line switches:

  * FontReg will remove any stale font registrations in the registry.
  * FontReg will repair any missing font registrations for fonts located in
    the C:\Windows\Fonts directory (this step will be skipped for .fon fonts if
    FontReg cannot determine which fonts should have "hidden" registrations).

...run FontReg.exe with the /copy or /move switch:

  * FontReg will install all files with a .fon, .ttf, .ttc, or .otf file
    extension located in the CURRENT DIRECTORY (which might not necessarily be
    the directory in which FontReg is located).  Installation will entail
    copying/moving the files to C:\Windows\Fonts and then registering the fonts.
  * FontReg will remove any stale font registrations in the registry.
  * FontReg will repair any missing font registrations for fonts located in
    the C:\Windows\Fonts directory (this step will be skipped for .fon fonts if
    FontReg cannot determine which fonts should have "hidden" registrations).

FontReg.exe is intended as a replacement for Microsoft's outdated fontinst.exe,
and like fontinst.exe, FontReg.exe is fully silent--it will not print messages,
pop up dialogs, etc.; the process exit code will be 0 if there was no error.

TOP

返回列表