Skip to main content
Inspiring
September 2, 2020
Question

Regarding file extension of the generated file in RH 2019

  • September 2, 2020
  • 5 replies
  • 291 views

I am using RH 2019 version. In the output generated, the file has .htm extension. For some reason, we need the extension of the file to be .HTML. Is it possible while generating the output? If yes, how? 

    This topic has been closed for replies.

    5 replies

    Peter Grainge
    Community Expert
    Community Expert
    September 2, 2020

    Doing it that way means doing it every time you generate. If you backup before doing it the way I suggested, it's a one time job. 

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    September 2, 2020

    If you change the filename in RoboHelp, the links get updated automatically, again in a simple test.

     

    I am not aware of any RoboHelp option to rename the file extension and if you use an external method it will not fix the links.

     

    Enjoy your day. 🙂

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    September 2, 2020

    Are you suggesting to rename it manually? If so, we have more than 300 topics. Is there a way to do batch changes, including the links (used as a reference to another topic) inside the topics?

    AthensSlim
    Inspiring
    September 2, 2020

    You could try a bulk rename utility to rename the extensions and then a full-featured text editor (such as Notepad++) to find and replace the link extensions within the files. Such text editors have a "find in files" function that you could use to accomplish this. 

     

    Since you need to do this on your output (and not your source project) there is no real risk to try this. If it breaks it, just create the output again. I think it should work for you though.

     

    Good luck. 

     

    Edit: to be clear, I'm suggesting doing this on the OUTPUT, not the source files of the RH project. If you do this to the RH project, I have no doubt it will probably break it. 

    Peter Grainge
    Community Expert
    Community Expert
    September 2, 2020

    Rename the topics to have the HTML extension. It seems to work in a simple test.

     

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    September 2, 2020

    By file, I mean the topic has extension of .htm