如何获得GRAFTABL的访问权限以及如何使用它?


1

在工作的同时 CMD 文档提取器,它引起了我的注意 GRAFTABL 列出 HELP 但“不被视为内部或外部命令,可操作程序或批处理文件。”这导致两个问题:

  • 怎么能 GRAFTABL 使用,还是有替代?
  • 如何检索命令的文档?

参考:

  • 答:在哪里可以看到Windows命令的所有选项?
  • import os, subprocess; print('Pass' if all(code in {0, 1} for code in ((print(word), os.system(f'echo {word} >> complete_help.txt'), os.system(f'help {word} >> complete_help.txt'))[2] for word in (line.split(None, 1)[0] for line in subprocess.Popen('help', stdout=subprocess.PIPE).stdout.read().decode('latin_1').splitlines() if line) if word.isalpha() and word.isupper())) else 'Fail')

我刚要提出同样的问题
phuclv

Answers:


2

您已经发现了一些尚未清理的遗留代码/数据。该命令不再需要或不合适,因为CMD不再区分“图形模式”和“文本模式”;或多或少以Windows 95结束,并且在Windows XP中肯定不再是它。


它仍然可以在Windows XP和Windows Server中使用。
DavidPostill

@DavidPostill - 我似乎记得它不存在于Windows XP中 - 虽然在反思中,它仍然有它,它支持传统的DOS程序,它直接做(不需要VM或DOSBox)。
Jeff Zeitlin

2

如何使用GRAFTABL,还是有替代品?

graftabl命令允许显示器在特定代码页的图形模式下显示扩展字符。大多数监视器不需要加载graftabl命令。

graftabl命令是一个外部命令,可在   在Microsoft操作系统下面作为graftabl.com。

  • MS-DOS 3.0到MS-DOS 5.0
  • Windows 95
  • Windows 98
  • Windows ME
  • Windows NT
  • Windows 2000
  • Windows XP

例子:

    graftabl 437

为美国加载graftabl。

资源 MS-DOS graftabl命令帮助

它似乎也可用 Windows Server

功能已被替换 Chcp - 更改代码页 - Windows CMD - SS64.com

chcp 437

感谢您注意到 CHCP 是一个替代品!
Noctis Skytower
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.