@FIRSTFONT — Returns the name of the first matching font.

Syntax:
%@FIRSTFONT[name,charset,type,pitch-and-family]

namemay contain wildcards
charsetsee below
typeone of: R raster fonts, V vector fonts, O OpenType fonts, or T TrueType fonts
pitch-and-familyone of: R Roman, S Swiss, M modern, H hand (script), D decorative, or N no family;
    and/or one of: F fixed pitch, or V variable pitch

If no matching font is found, @FIRSTFONT returns an empty string. If a matching font is found, its name is returned, and you can continue enumerating fonts with @NEXTFONT.

Supported charset values include:

0ANSI (Western — the default)
1don’t care
2symbol
128Shift JIS (Japanese)
129Hangul (Korean)
130Johab (Korean)
134GB 2312 (simplified Chinese)
136Big-5 (traditional Chinese)
161Greek
162Turkish
163Vietnamese
177Hebrew
178Arabic
186Baltic
204Cyrillic (Russian)
222Thai
238Eastern Europe
255OEM character set

rem   List available script fonts:

set font=%@firstfont[,,,h]
do while defined font
   echo %font
   set font=%@nextfont[]
enddo