Skip to main content
Jared Hess
Legend
Mar 8, 2016 9:54 PM UTC
Answered

Two Rhcl.exe files (one from each version). How do I make the latest version's rhcl.exe a recognized command?

Hello all,

I have two versions installed:

RoboHELP 9

RoboHELP 2015

We are slowly transitioning our projects from RoboHELP 9. At the moment, I cannot uninstall RoboHELP 9, because I need it for some of my projects still.

The problem I'm running into is this:

The RoboHELP command line compiler, rhcl.exe, is not compiling all the topics.

Our main help, when I compile it from within the RoboHELP application, is usually about 25 MB large. When I compile the same help using the RoboHELP command line compiler, it is only 4 MB large. That is a lot of missing content.

Here's a smaller output showing the same problem:

The compile log shows a bunch of these:

HHC5003: Error:

Compilation failed while compiling planner\Planner__Introduction.htm.

I think the problem is that with the two versions that I have installed, it's trying to compile a RoboHELP 2015 project with a RoboHELP 9 compiler.

I've verified that each version has its own rhcl.exe.

I renamed the RoboHELP 9 one to "rhcl.exebak" so that it doesn't get used, and now my batch file says:
" 'rhcl.exe' is not recognized as an internal or external command."

This tells me it was using the RoboHELP 9 compiler.

How can I get it to recognize the rhcl.exe that comes with RH 2015?

I tried adding my own system environment variable pointing to the RH2015 rhcl.exe, but that doesn't work either.

This topic is closed to new replies. Start a new post to keep the conversation going.
Jared Hess
Jared HessCorrect answer
Legend
Mar 9, 2016 12:45 PM UTC

That was what I thought I was doing by adding my own environment variable, but perhaps I was doing something wrong.

Anyway, I did an online search, and it said to modify the PATH variable.

In that variable, I appended the pathway to include the folder of the current rhcl.exe.

Then I restarted.

It looks like it might be working now. *whew*

2 replies

Jeff_Coatsworth
Community Expert
Community Expert
Mar 9, 2016 3:20 AM UTC

Can you not explicitly path the command to use the correct rhcl.exe?

Translate
Jared Hess
Jared HessAuthorCorrect answer
Legend
Mar 9, 2016 12:45 PM UTC

That was what I thought I was doing by adding my own environment variable, but perhaps I was doing something wrong.

Anyway, I did an online search, and it said to modify the PATH variable.

In that variable, I appended the pathway to include the folder of the current rhcl.exe.

Then I restarted.

It looks like it might be working now. *whew*

Translate