命令行(cmd.exe)中的命令帮助保存在哪里? [英] Where is saved the help of a command in Commandline (cmd.exe)?
本文介绍了命令行(cmd.exe)中的命令帮助保存在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
当我使用命令行时,我看到:用"/?"完成命令.然后我得到了它的帮助,例如:
C:\net/?
并得到:
NET [帐户|电脑|配置| 继续 |文件|集团|帮助|
HELPMSG |本地组| NAME |暂停|打印发送|会议|
分享|开始|统计停止 |时间|使用USER |查看]
那么它们在哪里保存呢?我不知道,但是我有一个批处理文件,该文件可以在一个HTML文档中自动记录所有可用的帮助.运行此批处理以生成此文档:
帮助生成器—批处理文件.
这不是我的工作.抱歉,暂时无法告诉作者;应该在我的记录中.
控制台/命令行将帮助文本作为代码中的文本,作为资源,作为资源嵌入在控制台中并不少见.一个dll.我怀疑许多Windows命令行工具都使用位于特定于语言的dll中的资源.
问候
Espen Harlinn
Hi all,
When I use commandline I see that: To finish an command with "/?" then I get its help, e.g:
C:\net/?
and get:
NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
So where are saved they? Thank in advandce.
解决方案
I don''t know, but I have a batch file that automatically documents all available help in a single HTML document. Run this batch to generate this document:
Help generator — batch file.
This is not my work. Sorry, cannot tell the author right now; should be somewhere on my records.
—SA
It''s not unusual for console/commandline to embed the help text either as text in the code, as a resource, as a resource in a dll. I suspect that many of the Windows command line tools use resources located in language specific dll''s.
Regards
Espen Harlinn
这篇关于命令行(cmd.exe)中的命令帮助保存在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文