大网数据广告活动
Windows排障命令

graftabl

· 52CE 我爱测

Reference article for the graftabl command, which enables Windows operating systems to display an extended character set in graphics mode.

Enables Windows operating systems to display an extended character set in graphics mode. If used without parameters, graftabl displays the previous and the current code page.

Important: The graftabl command is a legacy command, and therefore outdated. It is normally not installed in modern Windows versions. Please see the chcp page for codepage handling.

Syntax

graftabl <codepage>
graftabl /status

Parameters

Parameter Description
<codepage> Specifies a code page to define the appearance of extended characters in graphics mode. Valid code page identification numbers are:<ul><li>437 - United States</li><li>850 - Multilingual (Latin I)</li><li>852 - Slavic (Latin II)</li><li>855 - Cyrillic (Russian)</li><li>857 - Turkish</li><li>860 - Portuguese</li><li>861 - Icelandic</li><li>863 - Canadian-French</li><li>865 - Nordic</li><li>866 - Russian</li><li>869 - Modern Greek</li></ul>
/status Displays the current code page being used by this command.
/? Displays help at the command prompt.
Remarks
  • The graftabl command affects only the monitor display of extended characters of the code page that you specify. It doesn't change the actual console input code page. To change the console input code page, use the mode or chcp command.

  • Each exit code and a brief description of it:

    Exit code Description
    0 Character set was loaded successfully. No previous code page was loaded.
    1 An incorrect parameter was specified. No action was taken.
    2 A file error occurred.
  • You can use the ERRORLEVEL environment variable in a batch program to process exit codes that are returned by graftabl.

Examples

To view the current code page used by graftabl, type:

graftabl /status

To load the graphics character set for code page 437 (United States) into memory, type:

graftabl 437

To load the graphics character set for code page 850 (multilingual) into memory, type:

graftabl 850

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。