Use of underscores in chm filenames

Hi Everyone,
I recently came across the following as a result of a web search..
Location
http://alist.adobe.co.uk/devnet/robohelp/articles/merged_help_06.html
Potential problem highlighted with merged projects
"CHM filenames
Avoid the use of underscores, the hash symbol and suchlike in the names of the CHM files you create. They have been found to cause problems with merged Microsoft HTML help. Stick with alphanumeric characters and no spaces."
Has anyone experienced problems related to this and if so what exactly?
I am usually led to believe that underscores in a filename is a fairly safe practice???

Hi Colum,
Colum McAndrew wrote:
I'm not sure if I am the person Peter was referring to but let me add my 2p worth ;-)
I have used merged CHMs for over 10 years and in the past I have had problems with underscores in the file name. The problem I faced was that file names with underscores just did not appear in the merged project output at all. Remove the underscore and it did. That was back in the days of RHX4 so things may have changed but I've never tempted fate!
Read the RoboColum(n) for a tips,  tricks and musings on the Technical Communication Suite products.
Thanks for that. To be honest I was wondering of this issue might be related to a problem I've been observing with html help projects where the compiled output files revert unprompted to the same version as the baggage files. I've been unable to see what's causing that problem and whilst searching the web I came up the Adobe pages I quoted. As this was a potentially different issue I started a separate discussion...

Similar Messages

  • Using an Underscore in Name. Is it OK?

    Is it OK if I save my .html page as:
    2D_illustration.html
    or
    after_effects.html
    I had a friend say that using an underscore in the name could present problems. Is this true?
    Thanks

    No.  Your friend is wrong.  It's better to use an underscore _ or a hyphen - than to leave a space between words which most definitely can cause problems.
    Alterntively, you could use AfterEffects.html but if your server is linux and case sensitive, this can get confusing.  I would suggest you find a naming convention you like and use it consistently.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How can I use variable for a package filename and target file inODIFileMove

    I want to use a variable for paths so that when I migrate from Dev to QA to Prod I don't have to do a lot of editing.
    Specifically, I want a variable to be the first part of the path for the filename (\\sundev1\fnd1-hypd1) and join this with the rest (\update\log\*.log or specific filename) using several different objects like the ODIFileMove, ODI OS Command, OS Command, etc.
    Thank you!

    Hi,
    you could set up a database table holding processing parameters (i.e. Column1 - ParamName, Column2 - ParamValue).
    One row could then be ParamName = FilePath, ParamValue = \\<server>\folder\
    So, the refreshing query (attached to a logical schema) would be something like SELECT ParamValue FROM <your table> WHERE ParamName ='FilePath'
    Then, create a variable which can refresh from the database and in the package, drop the variable onto the flow and set it's type to 'Refresh Variable' in the properties.
    Hope this helps.
    geeo

  • Consolidating MSP Files using a variable as the filename

    Hi All
    I am trying to consolidate a number of MSP Files without having to hardcode the filenames.  Here is what I have so far and it is falling over on the Application.ConsolidateProjects..... line.  Any help/advice would be appreciated:
    Sub ImportWorkstreamPlans()
    Dim objFSO As Object
    Dim objFolder As Object
    Dim objFile As Object
    Dim i As Integer
    Dim Path As String
    Application.DisplayAlerts = False
    'Create an instance of the FileSystemObject
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'Get the folder object
    Set objFolder = objFSO.GetFolder("D:\Delivery Assurance\CPP Build")
    i = 1
    'loops through each file in the directory and prints their names and path
    For Each objFile In objFolder.Files
    'FName = objFile
    Application.ConsolidateProjects Filenames:=objFile, NewWindow:=False, AttachToSources:=False, HideSubtasks:=True
    ViewApply Name:="CPP View"
    GroupApply Name:="No Group"
    SelectRow Row:=1, RowRelative:=False
    Next objFile
    FilterApply Name:="All Tasks"
    OutlineShowAllTasks
    SetAutoFilter FieldName:="Flag3", FilterType:=pjAutoFilterIn, Criteria1:="Yes"
    GroupApply Name:="Sub Project"
    Application.DisplayAlerts = True
    End Sub
    Thanks in anticipation.
    Tony
    TKHussar

    Tony,
    I think you made a typo when you say your individual plans are stored in "D:\CPP Build Template\CPP Plans" because your code is looking for the files in "D:|CPP Build Template\CPP
    Build Plans". Maybe that's your runtime error right there.
    However, I have to take back something I said previously. The FileName parameter of the ConsolidateProjects Method can, and should in this case, be a full path. I did a little further testing to simulate your configuration. I have a "Y" drive with
    a desktop folder. I created a blank Project 2010 template file and a simple test file and placed both of those on the "Y" drive desktop. I am running Project 2010 on the "C" drive of Windows 7 on a virtual PC. The macro code below is in
    the Global file. I open the template file and then run the macro. Everything works fine until it attempts to invoke the autofilter. Then it fails and I didn't have time to figure it out so I use a normal custom filter instead.
    Sub ImportWorkstreamPlans()
    Dim objFSO As Object
    Dim objFolder As Object
    Dim objFile As Object
    Dim i As Integer
    Dim Path As String
    Dim FName As String
    Application.DisplayAlerts = False
    'Create an instance of the FileSystemObject
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    'Get the folder object
    Set objFolder = objFSO.GetFolder("Y:\Desktop")
    i = 1
    'loops through each file in the directory, determines if they are a project file, and then inserts them into a static master
    For Each objFile In objFolder.Files
        If InStr(1, objFile.Path, ".mpp") > 0 Then
            FName = objFile.Path
            Application.ConsolidateProjects Filenames:=FName, NewWindow:=False, AttachToSources:=False, HideSubtasks:=True
            ViewApply Name:="Gantt Chart"
            GroupApply Name:="No Group"
            SelectRow Row:=1, RowRelative:=False
        End If
    Next objFile
        OutlineShowAllTasks
        FilterApply Name:="All Tasks"
        FilterEdit Name:="TKH", taskfilter:=True, create:=True, overwriteexisting:=True, _
            FieldName:="Flag3", test:="equals", Value:="yes", ShowInMenu:=False, showsummarytasks:=True
        FilterApply Name:="TKH"
        'SetAutoFilter FieldName:="Flag3", FilterType:=pjAutoFilterFlagYes
        GroupApply Name:="Sub Project"
    Application.DisplayAlerts = True
    End Sub
    John

  • How to use Min function to get FileName into a Variable

    I was wondering how to use MIN function in Evaluate variable in package to get the first file name from the list(Datastore)
    With reference to Merging Flat Files into a single file Post number-4
    Thanx

    Hi Diwakar,
    That List data store should be table, than only it will gives the min of the filename string,
    If it is a file datastore, Min function does not works properly it will returns a first name in the file data store.
    so please, use an interface to upload the List filedatastore into some other temp table. From that table you can use variable to get Min value of file name.
    Thanks
    Madha

  • How can I find files renamed using mv file/path/folder .filename

    So I was a complete idiot and was messing around with the terminal. I was trying to figure out how to hide folders from other people who would have access to my account. Instead of creating a useless text file within a new folder, I just tried it on one of my own personal folders. The folder itself contained about two months worth of work, and I have no clue why I did it. But I did, and now I cannot find it for anything. This is what I did:
    mv /users/azuredavid/documents/Q1/ .filename
    However when I tried to access this via the Go To folder option, it wouldn't work. I used the exact path as above as well as variations using a period. Eventually I resorted to using:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    killall Finder
    Now all I see is the addition of .DS_Store and .localized files in the folder. Still no work folder. I've seen conflicting reports of what exactly is the correct command for the defaults write command. I've used the one above as well as a few others, like AppleShowAllFiles YES, bool true, etc. Is there any way to get those files back?
    Thanks in advance.

    1. Look for it directly inside your home folder, or try using the Terminal's find command to locate files with the names of items in that folder.
    2. The syntax used is one of the correct ones for that command.
    (87770)

  • MS Security Update 896358 (Jun 2005) - has Adobe fixed this remote .chm problem yet??  Use another extension (not .chm)

    I have RH 11.  .chm extensions obviously were rendered useless remotely.  Cannot undo the security thigns via the registry hacks that have bounded around the last 8+ years.
    Has Adobe ever addressed this and fixed the vulnerability?
    Do any of the other extensions get around this problem?  I heard that web help was a bear.

    LOL, so you are asking if Adobe has fixed a vulnerability issue with the proprietary Microsoft HTML Help viewer product?
    Lots of folks quite successfully use WebHelp with no issue. Can you expound on what you mean by saying "it was a bear"?
    Cheers... Rick

  • Is there a screensnap app which uses date/time as the filename?

    I'm looking for a simple screensnap app which uses the current date/time as the filename... e.g. 010220120500 or something similar.

    Ah... automator... the ******* step-child of the OS.  Forgot about that one. I checked out your link and ran up against a barrier. I can make a sequential workflow, a date/time workflow in day/month/year and a couple other variations... but not a truly sequential day/date/year/hour/minute/second non-repeating workflow. Oddly enough I can make a hour/min/sec workflow but that would not absolutely define the file and could create duplicate filenames.
    I've looked over a lot of these screensnap apps and haven't found one that can do a non-repeating (thru system on/off sequences) filenaming thing. Maybe it can't be done.
    Automator was a good idea and it was fun using it again. Thanks Jeff.

  • Regarding using PARAMETERS:p_prefil TYPE     rlgrap-filename.

    Hi when
    I use this parameter
    PARAMETERS:p_prefil TYPE     rlgrap-filename.
    in order take the input from the user for filename when downloading to the Presentation server i get the conflict type error and the program goes to dump.
    But if i use the same p_prefil as string type it works.Could anyone tell me the reason for this.

    Hi..
    To avoid this problem you have to declare a Separate variable.
    PARAMETERS:p_prefil TYPE rlgrap-filename. 
    data : v_file type string.
    START-OF-SELECTION.
    MOVE P_PREFIL TO V_FILE.
    call function 'GUI_DOWNLOAD'
    exporting
    FILENAME  = V_FILE  "This parameter accepts only STRING
    This will work..
    <b>reward if Helpful.</b>

  • Do not use apostrophe for folder or filename in a collection

    My wife creates collections (not smart collections).  She created one with three images.  When Bridge CS5 is closed and reopened two of the images are missing.  I, of course, said user error.  Bad decision.  After looking at the collection_name.filelist I noticed that the apostrophe is used as a delineator.  The folder that contains the image has an apostrophe in the name.  An extra apostrophe is not good.  The folder was renamed without using the apostrophe and the problem went away.

    Worth knowing. Thanks for sharing!

  • Mail server cannot use certificate because.. the filename is too long ?

    Hi,
    For some reasons, yesterday, I created a new certificate on our server (XServe with Mac OSX Server 10.6.2) and I assigned this certificate to the mail server. Since then, we are not able to connect to our mail server. We receive an error saying the server cannot open a connection on port 993.
    I looked at the mail access log and I think I might have found the cause:
    Jan 7 09:20:25 xs1 dovecot[1944]: Fatal: sslcafile: Can't use /etc/certificates/LemieuxBedard.com.264472D0EC029B3194A4B779D2187278189E8352.ch ain.pem Bedard.48DFB4D5FA4786D77DEF02C72591002CC865D5E1.chain.pem Bedard.48DFB4D5FA4786D77DEF02C72591002CC865D5E1.chain.pem Bedard.48DFB4D5FA4786D77DEF02C72591002CC865D5E1.chain.pem Bedard.48DFB4D5FA4786D77DEF02C72591002CC865D5E1.chain.pem Bedard.48DFB4D5FA4786D77DEF02C72591002CC865D5E1.chain.pem Bedard.48DFB4D5FA4786D77DEF02C72591002CC865D5E1.chain.pem: File name too long
    I don't understand why the name is too long since the previous certificate had a name even longer. Is this a bug that should be corrected on the next update or have-I indeed done something wrong? Right now, I disable the certificate on the mail server and it works. However, I'd really like to use the certificate.
    Thanks for any help.

    No, you didn't do anything wrong, JeanPhilippe. I'm right there with you. There's even another thread on this issue:
    <http://discussions.apple.com/thread.jspa?messageID=10808126>
    I had the same problem: IMAP & POP services would not launch using SSL. Finally got it resolved today. It had nothing to do with certificates and their names, or creating them in openssl, and everything to do with a botched dovecot.conf file, courtesy of Server Admin.
    It appears that every time I changed the certificate for IMAP & POP SSL in Server Admin, it appended the new selection to the dovecot.conf file on 3 separate lines. The result was an unhealthy list of every certificate file Server Admin had ever been pointed to for this service.
    After making a backup, I edited the file (/etc/dovecot/dovecot.conf) down to the single cert file I wanted it to use. It happened to be first in the list, FWIW.
    If you want to duplicate this, look for the lines beginning with:
    "sslcertfile"
    "sslkeyfile"
    "sslcafile"
    Obviously you need to be careful in there. But I did not even have to bounce the service before it took my changes. Thankfully, Server Admin did not overwrite my edits (which I've seen happen with manual config of other services, such as the iChat service.)
    Good luck, and let me know if I can provide more detail.

  • Please fix the Robohelp bug related to supporting underscores (_) in the help files (*.chm)

    There are 10 module specific projects. Further map IDs are assigned in all the 10 module projects to have context sensitivity. These are merged into a single project to generate the entire help file. The output for the project is html help (.chm).
    Initially, we generated the html help and integrated with the application. When tested (pressed F1) the correct topic is displayed but with the ToC for that module and not the entire help. 
    Solution: I followed the steps mentioned in the following thread that I came across on Adobe forum. 
    http://forums.adobe.com/message/240496#240496
    But the solution didn’t work as expected, Further investigation showed that since the output file name had underscore (Module1_EN.chm to denote the language), the solution didn’t work.  Hence I removed the ‘underscore (_)’ from the output file name and generated the output again. This time the solution worked.
    Please refer below the steps for generating the output.
    Steps:
    Generated output (chm) for all the modules.  I had to make sure that the output file name does not contain any ‘underscore (_)’ as this caused the problem when generated the help file.  
    In the main help project (which is an empty container), merged all the projects using Robohelp’s Merged Project functionality.  While merging, I first created empty Book and then merged the project within that book.
    For example, Book1 will contain Module1.chm, Book2 will contain Module2.chm and so on.
    Added window definitions using Project Setup -> New Window. Also added reference to main ToC here by clicking Advanced Properties. (Table of Contents: Main.hhc)
    Selected the above created window while generating the output (Single source layouts -> html help Layout -> Properties).
    Generated the html output for the entire project (Main.chm).
    Decompile the ‘Main.chm’ and extracted the ToC file ‘Main.hhc’.
    For each module project, imported ‘Main.hhc’ as a Baggage File, created window definitions same as the Main project and with reference to ‘Main.hhc’.
    Again generated html output for all the modules.
    Tested CSH for the project. The correct topic displayed with the entire ToC.
    Best regards,
    /Vikas

    You need to post a bug report to get Adobe's attention. This is a user to user forum. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    Not sure but I believe it may be a bug in the Microsoft Help Compiler over which Adobe have no control. Microsoft last updated in 2004. Good luck!
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Invalid HTML tag - Is this true? Child .chm files cannot have underscores in name?

    I’ve been having the following problem:
    file mk:@MSITStore:  … xxx.chm::/xxx.hhc contains an invalid HTML tag
    In more detail what happens:
    You click on the .chm file to open it and you get a dialog with an error message:
    The file mk:@MSITStore:E:\p4_work\1663\isentris\isentris\end-user\trunk\src\Symyx_Isentris\!SSL!\M icrosoft_HTML_Help\Symyx_Isentris.chm::/Symyx_Isentris.hhc contains an invalid HTML tag
    There is an OK button and when you click that, then the .chm file opens just fine.
    All child .chms open fine when I click on them.
    This merged help project worked fine until I upgraded from RH X5 to RH7. I hadn’t changed anything. Then I started reading the forum (RoboHelp HTML Help).
    What I’ve done so far:·         Upgraded all help projects from RH X5 to HR7.
    ·         Regenerated all .chm files, added them again to parent help project’s TOC.  Child .chm files open fine.
    ·         Regenerated a new parent .chm.
    So, I see that one of Colum's answers in another thread was to make sure that none of the child .chms had underscores in the title.
    >>>>>>>>>> !!!!!!!!   you mean that RoboHelp now does not accept underscores in .chm titles? Please don’t let it be so.
    Also, several people said that they solved the problem like this:
    ·         “You will get this message if your merged CHMs are not in a book in your merged TOC. Check that. “  You mean I have to associate a book icon with each child .chm in the parent’s TOC?
    ·         My guess is that the merged project should be placed inside a book in the main project's TOC. You'll just have to rearrange the subprojects TOCs so you don't have books inside books.
    What does “in a book” mean? See my attached jpegs. The child project’s TOC is in book form  … within the child project. However, in the parent project’s TOC, the child projects are shown with that merged symbol … kinda looks like a very angular G. Should I create books that link to destinations? Is that what I should do in the parent project’s TOC? Somehow that doesn’t look like it’s going to work – I looked at both dialogs – link and no link – neither one looked like it would work.
    Thanks so much for your help!!

    When you have a directory path in the TOC, that means that the directory structure should match. So for example:
    TOC (in parent.chm)
      !SSL!\Microsoft_HTML_Help\symyx_client.chm
      symyx_for_excel.chm
    End folder structure: (+ for folder, - for file)
    + Help
       - parent.chm
       - symyx_for_excel.chm
         + !SSL!
            + Microsoft_HTML_Help
               - symyx_client.chm
    Now if the symyx_client file shows up okay after the error message, possibly the parent chm file is smart enough to correct for the directory structure not being there, but a file with the correct name existing in the same directory as the parent.
    We've always tried to ensure out merge references don't have a path - RH has the annoying habit of requiring the chm file to be copied into the root, but we just delete it after the first build, as it shouldn't need to be there for the actual compile process. In fact, we've had problems with the chm being physically built into our parent chm, drastically increasing the file size and resulting in duplicate and outdated topics in search. We leave the file there for the first build as sometimes the merge doesn't work first go without it; I think it has to do with how it gets added to the hhp file.
    To test that our merge works, we just copy a couple of the files into the same folder  (e.g. c:\temp\test) to double-check. We need this process as our clients get different combinations of the total chm files built into our parent.
    Something else I've just thought of is maybe there is something strange happening in the actual hhc file. Do you have any topics in that TOC with characters other than a-z, 0-9 and underscore in the filename (in the topic title should be okay, but maybe some particularly odd ones might cause an issue)?
    Amber

  • How can I make the browser use the proper filename during a forced save, using CFCONTENT/CFHEADER

    We have a client using CF8 Server for a site and I am using the CFHEADER/CFCONTENT method to force a file to save to the end-user's computer.
    The dialogue comes up as expected, but regardless of what is found in the CFHEADER for a filename, it tries to save the file as the CFM page name.
    i.e. The CFM page is signature.cfm. I am trying to make it save a TXT file to the user's computer, which it seems to be trying to do, but the instead of using "sig.txt" as the filename as outlined in the CFHEADER, it is defaulting to "signature.cfm"
    While I know that I could change the name and extension and the content in the file would be correct, the mass majority of end-users will not know that they can do that, and the client does not want it to become more complicated than necessary.
    Is there a way to make the file change to the proper name in the SAVE AS dialogue?
    Thanks in advance.
    Code so far is pretty straight forward ...
    <CFHEADER name="Content-Disposition" value="attachment; filename=sig.txt">
    <CFCONTENT type="application/unknown" file="#xf#">

    I'm guessing the type="application/unknown" is interfering. Try type="text/plain".

  • Same Dynamic Filename used multiple times

    Hi all,
    In PI we would like to use the same dynamically created filename for multiple outputs of the same file in different locations.
    Is it possible to create the filename and save it in a Java container (for instance) that can be accessed by other mapping programs?
    Many thanks,
    Aldo

    >
    Aldo wrote:
    > Hi Sunil,
    >
    > I don't know if I'll be able to resolve my problem using these features......... but this for sure answers my question.  Thank you.!
    >
    > Best regards,
    >
    > Aldo
    Just to correct you here... Your requirement is to reuse the file name value in different mappings and NOT to reuse the udf code.
    The above blogs say's how to reuse the udf code in different mappings... So make sure what exactly you are looking for...
    UDF can only store the value at run time for a particular mapping... once execution is over the value will be lost.
    So as suggested by Sunil, you can store the file name into some table and then use the RFCLookup get it into your another mappings...

Maybe you are looking for

  • ASA 5505 Problem with outbound PPTP-connection on non-native vlan

    Hi, why am I not being able to make a PPTP connection on vlan80 (trunked to AP Cisco 1142N) compared to vlan10? And yes, I've configured the " inspect pptp" ASA 5505 with sec plus license

  • User Exit/BADI for Purchase Order and Purchase Requisitions

    HI, I have a requireent where i have to check the the user does not enter both Subitems and Over a Limit for a Service Purchase Requisition. Is there a User Exit or Badi that i can use where this information is availaible. also i have to check that r

  • Bridge - can't delete files in some folders

    I just installed CS3 on my new PC. My problem is that in SOME (but not all) folders when I hit delete to get rid of some files it just totally ignores the command - it's not rejecting it - i've tried ALT+ delete and even the dustin icon at the top ri

  • Capturing HD TV into Apple TV

    I am getting several HD channels via cable using a "Scientific Atlanta" decoder provided my by cable company in Canada (videotron) which has an internal hard drive to record HD TV programs and I plugged it with HDMI cable to my HD TV and it word fine

  • ABAP selection in InfoPackages

    I have to select financial data from an ODS via the following logic: CASE MONTH.    WHEN 1.        PERIOD1 = 13.    WHEN 2.        PERIOD1 = 14.    WHEN 3.       PERIOD1 = 15. ENDCASE. PERIOD2 = MONTH. The year has 16 periods and the ODS contains mor