Skip to main content
Participant
October 16, 2009
Question

seek to open a file *.chm on a topic time under dos

  • October 16, 2009
  • 2 replies
  • 1176 views

seek to open a file *.chm on a topic time under dos. Is what cel is possible?

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    October 17, 2009

    Hi, PDU_83,

    If you want to open a specific topic in a .chm file from the MS-DOS command line, the command to use is as follows:

    HH.EXE ms-its:path_to/HelpFile.chm::/path_to/TopicFile.htm

    For example:

    HH.exe ms-its:C:\Windows\Help\htmlhelp.chm::/prjfile.htm

    Or you can use the following command to pass in the context integer to which you have mapped the required topic:

    HH.EXE -mapid context_id path_to/HelpFile.chm

    For example:

    HH.EXE -mapid 1001 C:\Windows\Help\htmlhelp.chm

    In both cases, you can omit the path to the .chm file if it is in the %windir%\Help directory or registered under the following key in the Windows registry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\HTML Help

    Pete

    Peter Grainge
    Community Expert
    Community Expert
    October 16, 2009

    I have no idea what you are trying to achieve. This post makes no sense.


    See www.grainge.org for RoboHelp and Authoring tips

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Jeff_Coatsworth
    Community Expert
    Community Expert
    October 16, 2009

    I had the same impression ]]>

    Maybe they want to know how to launch a .chm to specific topic (some sort of CSH?)