I am not seeing it truncate the filename but the help is showing the content of the root of the output for the bc-petersfile.htm topic rather than the topic itself. That lists the filename correctly and if clicked, the topic displays. Windows Explorer shows the full filename.
I cannot help you with editing the script and hope someone else can. Meantime I think you will know what is coming next.
Please follow this link.
See www.grainge.org for RoboHelp and Authoring tips
Please see my response in the following thread: http://forums.adobe.com/message/4162604#4162604
Please note that if you follow the advice in my post, you may break your breadcrumbs.