This page is edited from the 1cmdfaq.txt faq-file contained in
my tscmd.zip
command line interface (CLI) collection. That zipped file has much
additional material, including a number of detached .cmd script
files. It is recommended that you also get the zipped version as a
companion.
Please see "
The Description and
the Index page" for the conditions of usage and other such
information.
91} How do I get command-line reference help?
Besides the obvious
HELP
or for individual commands e.g.
HELP /?
one can invoke the desktop version of the Command-line reference
hh %SYSTEMROOT%\Help\ntcmds.chm
For a single command one can use e.g. the following alternatives
FOR /?
HELP FINDSTR | MORE
hh ntcmds.chm::/set.htm [You can't use this unless you have the ntcmds.chm file]
For putting all the help into continuous text file use
@echo off & setlocal enableextensions
if exist help.txt del /p help.txt
for /f %%f in ('help') do (
>>help.txt help %%f
>>help.txt echo ----------------------------------------------------------
>>help.txt echo.
)
endlocal & goto :EOF
If you need install Microsoft Windows Script 5.6 for Windows 2000
and XP including Visual Basic Script Edition (VBScript.) you can
look "Script56.CHM" up at Google or [outdated] start from
http://www.microsoft.com/downloads/
and then take up the search for "Microsoft Windows Script 5.6". When
you have it installed, the compiled HTML Help file can be called
e.g. with something like
hh "C:\Program Files\Microsoft Windows Script\ScriptDocs\Script56.CHM"
A tip from Walter Briscoe:
hh -decompile . %SYSTEMROOT%\Help\ntcmds.chm
writes
a huge amount of .htm files in
the current directory.