C:\_G\WWW\~ELISANET\INFO\tscmd091.html
<http://www.elisanet.fi/tsalmi/info/tscmd091.html>
Copyright © 2003- by Prof. Timo Salmi  
Last modified Fri 30-Nov-2018 11:32:33

 
Assorted NT/2000/XP/.. CMD.EXE Script Tricks
From the html version of the tscmd.zip 1cmdfaq.txt file
To the Description and the Index
 

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.

The files script56.chm and ntcmds.chm are not included in Windows 7 to 10. To use them you'll have to find them on the net or copy the material from an old XP PC. E.g. https://github.com/pmachapman/VBSE/blob/master/Distribution/script56.chm

References/Comments:
  http://www.elisanet.fi/tsalmi/info/tscmd.html#references#references

[Previous] [Next]

C:\_G\WWW\~ELISANET\INFO\tscmd091.html
C:\_G\WWW\~ELISANET\FTPCMD\TSALMI.CMD /tscmd091
http://www.elisanet.fi/tsalmi/info/tscmd091.html
file:///c:/_g/www/~elisanet/info/tscmd091.html