Skip to main content
Participant
Oct 16, 2009 6:19 AM UTC
Question

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

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

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participating Frequently
    Oct 17, 2009 10:49 AM UTC

    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

    Translate
    Peter Grainge
    Community Expert
    Community Expert
    Oct 16, 2009 9:00 PM UTC

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


    See www.grainge.org for RoboHelp and Authoring tips

    Translate
    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
    Oct 16, 2009 9:10 PM UTC

    I had the same impression ]]>

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

    Translate