Using Quotation Mark in an Argument in Call Executable

Hello all,
I am trying to use Call Executable to do what I would normally do in CMD like this:
C:\My Document\My_Prog.exe "C:\My Document\file1.tch" "C:\My Document\file2.tch"
The two argument locations are stored in a locals.filename1 and locals.filename2.
I don't know how to make sure that the arguments are sent in that exact format with the quotation marks.
Thanks,
Chase

If the local variables do not contain quotes in them, the argument expression would be:
"\"" + Locals.filename1 + "\" \"" + Locals.filename2 + "\""

Similar Messages

  • Russian quotation marks

    guys, this is the fifth or sixth version of pages i have now and still nothing is done concerning the Russian quotation marks.
    you see, in typographically correct Russian we always use quotation marks like these «» and virtually never like these ", and while the closing quotation mark (») is available at alt (option) + =, there is absolutely no way to type in the opening quotation  mark («).
    please let me know if there is a solution to my problem, as this is the only setback i suffered since moving from MS Office to iWork.
    thanks

    khait wrote:
     …there is absolutely no way to type in the opening quotation  mark («).
    You didn't say what keyboard you are using. I am using the Australian/USA keyboard.
    option | = «
    option shift | = »
    Peter

  • ASP recordset quotation mark trouble

    Hello everyone,
    I've got a recordset that pulls sales data based on a
    specific product that
    is selected by the client from a dynamic dropdown of all the
    products in the
    database.
    The trouble:
    If the product name has quotation marks in it, no results are
    returned.
    If there are no quotation marks in the product name, results
    are returned.
    I thought everything was going fine during testing, until I
    used quotation
    marks in a product's name. The client enters the product
    names as he or she
    adds new ones to the database for this online store and
    should be able to
    use quotes.
    This product name works: The Gadget
    This one does not: The "Gadget"
    The value from the dropdown used in the recordeset is named
    product_Name.
    I'm thinking the quotes being inserted into the SQL select
    statement might
    be the trouble ( WHERE product_Name = ? ), but I'm not sure.
    Here's the relevant recordset code:
    <%
    Dim Recordset1__MMColParam
    Recordset1__MMColParam = "1"
    If (Request.QueryString("product_Name") <> "") Then
    Recordset1__MMColParam = Request.QueryString("product_Name")
    End If
    %>
    <%
    Dim Recordset1
    Dim Recordset1_cmd
    Dim Recordset1_numRows
    Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
    Recordset1_cmd.ActiveConnection = MM_conn_box_STRING
    Recordset1_cmd.CommandText = "SELECT cst_FirstName,
    cst_LastName, order_ID,
    order_Total, orderSKU_Quantity, product_Name FROM
    cwq_OrderDetails WHERE
    product_Name = ? ORDER BY cst_LastName ASC"
    Recordset1_cmd.Prepared = true
    Recordset1_cmd.Parameters.Append
    Recordset1_cmd.CreateParameter("param1",
    200, 1, 125, Recordset1__MMColParam) ' adVarChar
    Set Recordset1 = Recordset1_cmd.Execute
    Recordset1_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = -1
    Repeat1__index = 0
    Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
    %>
    Here's the relevant dynamic dropdown page's code.
    The dropdown works fine, but if needed this shows where the
    product name
    used in the select statement comes from.
    <%
    Dim eventlist
    Dim eventlist_cmd
    Dim eventlist_numRows
    Set eventlist_cmd = Server.CreateObject ("ADODB.Command")
    eventlist_cmd.ActiveConnection = MM_conn_box_STRING
    eventlist_cmd.CommandText = "SELECT DISTINCT product_Name
    FROM
    cwq_OrderDetails2 WHERE product_Archive = 0 ORDER BY
    product_Name ASC"
    eventlist_cmd.Prepared = true
    Set eventlist = eventlist_cmd.Execute
    eventlist_numRows = 0
    %>
    <form name="form1" method="get"
    action="eventresults.asp">
    <label>Events
    <select name="product_Name" id="allevents">
    <option value="">(select an event)</option>
    <%
    While (NOT eventlist.EOF)
    %><option
    value="<%=(eventlist.Fields.Item("product_Name").Value)%>"><%=(eventlist.Fields.Item("pro duct_Name").Value)%></option>
    <%
    eventlist.MoveNext()
    Wend
    If (eventlist.CursorType > 0) Then
    eventlist.MoveFirst
    Else
    eventlist.Requery
    End If
    %>
    </select>
    </label>
    <input name="button" type="submit" class="formButton"
    id="button" value="
    View Now ">
    </form>
    Thank you for taking a look.
    Take care,
    Tim

    Thanks Matthew,
    I had thought about &quot but that would actually make
    for a lot of work in changing other parts of the application. It
    would cause some problems with a couple of reports the application
    generates and exports as far as naming conventions as well as order
    confirmation emails and invoices that are automatically sent.
    Also, I honestly would rather not have to tell clients they
    need to enter code in. I've had a couple of folks who had very
    little experience with computers. Showing them how to upload a
    product image in a very user friendly admin section was difficult.
    I can't image trying to explain why they need to enter code instead
    of just typing The "Gadget" in the box that say's "Enter your
    product name".
    Thanks for taking a look, and I actually have a less complex
    app where that might work nicely :-)
    Take care,
    Tim

  • Query for Find Mode Fails-AutoGenerated WHERE clause missing quotation mark

    Using Oracle JDev 10.1.3.2. In 'Find Mode' the query execution fails.
    The error shown below is caused by the WHERE clause statement. The column name is quoted in the database but the code generated by the ADF framework does not use quotes. As a result the column name is illegal. Is there a way to hint to the ADF framework to ALWAYS use quotation marks?
    (oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT "PLATE","WROW","WCOL","WFIELD","AVGNUC.NUC_CELL_INTENSITY","MEDNUC.NUC_CELL_INTENSITY","AVGORG.INCLUSION_BCKG_INTE","MEDORG.INCLUSION_BCKG_INTE","MEDORG.COUNT","MEDORG.SPACING","MEDORG.NEIGHBOR_COUNT" FROM ICSUMSTAS_1888_295) QRSLT WHERE ( ( (MEDORG.COUNT >0) ) )

    It is true that these are not the most column 'friendly' names, but they are what they are. In the database these columns are quoted and they must be so in order for the query to work correctly.
    The suggestion of directly manipulating the View Criteria is a good one and I have implemented a solution based on it but it's cumbersome. Here is how it works:
    First, use the default query mode UI to add new View Criteria. If you were to execute the query at this point it would fail due to the columns names not being quoted. So, instead, implemented my own execute query button that first uses the View Criteria to create a properly quoted WhereClause for the ViewObject.
    I then reset the ViewCriteria (or they will interfere with the WhereClause), set the custom constructed WhereClause on the ViewObject, and re-execute the query. The cumbersome part is that I have to create my own parser for user input to write a valid WhereClause. And when the user uses query mode again the previously set ViewCriteria have been reset (which is annoying, and not the typical query mode behavior which might confuse the user)
    below are some of my code snippets:
    * This action is triggered by clicking the FIND button on the UI.
    * It uses a combination of the ViewCriteria default UI and custom code that processes
    * user input into a whereClause for the ViewObject
    private void jbFind_actionPerformed(ActionEvent e) {
    jbAddRow.setEnabled(false);
    //reset old where clause
    System.out.println("OLD WHERE:"+myView.getWhereClause());
    myView.setWhereClause(null);
    String customWhere=getCustomWhere();
    /* The case for null and blank View Criteria is tested below
    * when there are blank ViewCriteria the sequence (--) is generated from getCustomWhere
    * Note the use of contains instead of equals
    * The use of equalIgnoreCase etc for unexplained reasons seem to fail to detect when customWhere is (--)
    if(customWhere==null||customWhere.contains("(--)")){
    return;
    }else{
    /*remove ViewCriteria because they can not handle special Column names
    * That's why we go into the trouble of creating our own find function
    myView.getViewCriteria().removeAllElements();
    myView.setWhereClause(customWhere);
    myView.executeQuery();
    jUNavigationBar1.doAction(JUNavigationBar.BUTTON_EXECUTE);
    jTable1.revalidate();
    private String getCustomWhere(){
    StringBuffer custom=new StringBuffer();
    ApplicationModule am = (ApplicationModule) panelBinding.getApplication().getDataProvider();
    DCJboDataControl jbodc = new DCJboDataControl(am);
    JUIteratorBinding iterBinding = new JUIteratorBinding(jbodc,myView );
    int criteriaCount=iterBinding.getViewCriteria().getRowCount();
    //Validation when no ViewCriteria are defined
    if (criteriaCount==0){
    System.out.println("ViewCriteria Count: "+criteriaCount);
    return null;
    }else{
    System.out.println("ViewCriteria Count: "+criteriaCount);
    int attr=iterBinding.getViewCriteria().getCurrentRow().getAttributeCount();
    int criteriaRows=iterBinding.getViewCriteria().getAllRowsInRange().length;
    String[] attrNames=iterBinding.getViewCriteria().getCurrentRow().getAttributeNames();
    for (int r=0;r<criteriaRows;r++)
    {custom.append("(");
    for (int k=0;k<attr;k++){
    if(iterBinding.getViewCriteria().getRowAtRangeIndex(r).getAttribute(k)!=null){
    custom.append("(\""+attrNames[k]+"\"");// LIKE '"+(String)iterBinding.getViewCriteria().getRowAtRangeIndex(r).getAttribute(k)+"') AND ");
    //trim white space
    String attrK=((String)iterBinding.getViewCriteria().getRowAtRangeIndex(r).getAttribute(k)).trim();
    String qual=attrK.substring(0,1);
    if(qual.equalsIgnoreCase(">")||qual.equalsIgnoreCase("<")||qual.equalsIgnoreCase("=")||qual.equalsIgnoreCase("!")){
    custom.append(" "+qual+"'"+attrK.substring(1)+"') AND " );
    }else{
    custom.append(" LIKE '"+(String)iterBinding.getViewCriteria().getRowAtRangeIndex(r).getAttribute(k)+"') AND ");
    }custom.append("--");
    custom.append(")");
    custom.append(" OR ");
    }//end criteria rows
    custom.append("--");
    //now need to remove terminal AND and OR tagged with --
    String cleanWhere=custom.toString().replaceAll("AND --","").replaceAll("OR --","");
    System.out.println("NEW CUSTOM WHERE: "+cleanWhere);
    return cleanWhere;
    }

  • "Excel found unreadable content in" The Problem is text in a clob exported to excel uses - Left single quotation mark -Right double quotation mark.

    Here are the ASCII char being used.
    145 221 91 10010001 ‘ &#145; &lsquo; Left single quotation mark
    146 222 92 10010010 ’ &#146; &rsquo; Right single quotation mark
    147 223 93 10010011 “ &#147; &ldquo; Left double quotation mark
    148 224 94 10010100 ” &#148; &rdquo; Right double quotation mark
    149 225 95 10010101 • &#149; &bull; Bullet
    150 226 96 10010110 – &#150; &ndash; En dash --
    The default CHAR NOW is a black diamond with ? in middle in stead of 'Right double quoation mark' and others.
    The Text used is copied from documents user's get
    so someone is putting in I think what is called ALT ascii. This data has been used for years
    some updates where put in the system, I don't know details.
    The following error started you click YES and the XLS has alot of data missing not just the CLOB.
    Excel found unreadable content in ‘file-name’.
    Do you want to recover the contents of this workbook?
    If you trust the source of this workbook click yes.
    I can copy the text then load it into the a column in a xls. 
    I am exporting the spreadsheet from TOAD it wasn't updated so
    it has to be with the EXCEL. I tried changing the ENCODING in EXCEL but that
    didn't work.

    I'm not familiar with TOAD, could you please let us know how did you export data from TOAD to Excel?
    Based on your description, it should be an encoding problem, have you tried to change the encoding as 'UTF-8' ?
    Wind Zhang
    TechNet Community Support

  • Can I use intelligent quotation marks on my iPhone?

    On my Mac I use "intelligent" punctuation, for example intelligent quotation marks. Can I do this on the iPhone too?
    Thanks :)

    I assume you mean the feature where you press a single quotation mark button and the appropriate version of it appears depending on whether it's left or right of the next character? In which case, no, on iPhone you have to enter each quotation mark with different buttons.

  • Adobe Acrobat 9 Pro: How can i use german quotation marks automatically in my formular?

    Only english quotation marks are used automatically.
    Thanks a lot for help!

    Hi John ,
    Please refer to the following links .
    https://helpx.adobe.com/x-productkb/global/find-serial-number.html
    https://helpx.adobe.com/x-productkb/policy-pricing/volume-licensing-site.html
    Hope this will help to recover the serial number of your software.
    Regards
    Sukrit Dhingra

  • Quotation marks display as &quot in web pages, I'm using Unicode UTF-8 character encoding.

    On many web pages, where a quotation mark character should appear, instead the page displays the text &quot. I believe this happens with other punctuation characters as well such as apostrophes although the text displayed in these other cases is different, of course. I'm guessing this is a problem with character encoding. I'm currently set to Unicode (UTF-8) encoding. Have tried several others without success.

    Here's a link where the problem occurs. Note the second line of the main body of text.
    http://www.sierratradingpost.com/lp2/snowshoes.html
    BTW, I never use IE, but I checked this site in IE and it shows the same problem, so maybe it is the page encoding after all rather than what I thought.
    In any case, my thanks for your help and would appreciate any solution you can suggest.

  • DTW using .txt file adds quotation marks around BP Name

    I am importing new Business Partners using .txt file because of comma's in BP names.  When I import the BP names, quotation marks are added.  How do I get rid of the quotation marks?

    Gordon, thanks for the suggestion, it is helpful.  However, in this case, there were no quotation marks in the Legacy System, and when I imported using .csv files, I had no problems.
    When I switched to .txt, DTW added them somehow.
    Thanks,
    Avraham

  • Using Preview to enter keywords in a PDF shows quotation marks

    When I enter keywords in a PDF with Preview and later open the same file with Acrobat and look at the properties, the string of keywords are within quotation marks. If I enter the keywords while in Acrobat there are no quotation marks. If the keywords are in quotation marks in the properties, does this mean that keywords are one long string that will not search well? I'm confused.

    Preview is a viewer, rather than an editor. It has basic functions for adding annotations and links, and that's about it.

  • Question marks appear in my browsers now, used as quotation marks...

    Lately all sorts of question marks are appearing in certian parts of my browsers, I think that somehow a font is corrupted or something... it appears they are there appostrophies and quotations marks should be; this is very annoying. How can I fix this? As far as I know, I havent done anything with my fonts or to my system.
    Thanks
    Michael

    It would help a great deal if you would provide an example url of a site where you have this problem.
    Normally seeing ? instead of punctuation is caused by an encoding mismatch between the browser and the page being viewed, resulting from errors by the page author. You can often fix it by going to View > Text Encoding and manually setting your browser to Western (ISO Latin 1).

  • French quotation marks

    I'm trying to use Pages '08 in my French classes. I actually find it quite complete: the proofreader is particularly nice.
    One must-have feature is the use of French-style quotation marks. Called "guillmets", they look like pairs of less than signs and greater than signs. When running in a French locale, I still get American style quotations. Anyone know how to use the << and >> style?
    LC

    Funnily (or tragically) enough it seems like Pages does not support les guillemets natively. It does support German Anführungszeichen though, so they should be aware that there is a difference.
    Using a US-extended keyboard layout, you can type « using alt+backslash, and you can type » using shiftaltbackslash.

  • Removing quotation marks from channel names

    Firstly - I am new to both DIAdem and VB so please forgive my ignorance!
    I have a large data set containg many groups with (almost) identical channel names in each group. For reasons not worth going into some of the channel names have quoation marks around them, while others do not.
    I am trying to remove the quoation marks to make all channel names consistent throughout the groups, for this I was hoping to loop through the groups renaming channels as appropriate
    I think this should work:-
    For
     i = 1 to GROUPCOUNT
    Call GROUPDEFAULTSET(i)
     CN(""ChannelName"")="ChannelName"
    Next
    Where ChannelName is the name I am trying to replace, But I get the following error:- Expected ')'
    Can anyone point out where I am going wrong?
    (Note - I also tried using triple quotation marks ("""ChannelName"""), but I get this error instead - CN(""ChannelName""):=ChannelName Close bracket ")" expected for field index)
    For bonus points - how to I get the loop to skip over any groups where the channel I am referencing already doesn't have quotation marks in it, rather than giving me an error that the channel can't be found?
    Many thanks in advance for any assistance!
    Dan
    Solved!
    Go to Solution.

    Hello Dan,
    You are using an old script syntax to manipulate the data. Please find below the current way to replace quotation marks with an underscote:
    dim iLoopG, iLoopC, oGroup, oGroupChns, sQM
    sQM = chr(34) ' the " character
    set oGroup = Data.Root.ChannelGroups
    for iLoopG = 1 to oGroup.Count
    set oGroupChns = oGroup(iLoopG).Channels
    for iLoopC = 1 to oGroupChns.Count
    'msgbox oGroupChns(iLoopC).Name
    oGroupChns(iLoopC).Name = Replace(oGroupChns(iLoopC).Name, sQM, "_")
    next
    next
    Greetings
    Walter

  • "Save as csv" sets quotation marks around the whole line

    Our client reports:
    Data portal->Right click->Save as->Select "Data type": "Textfile - Auto detect (*.csv)"->Save.
    Result of saving:
    "TIME    V    V_ABS"
    "63.0235776    0.105263157894737    28.6153372301571"
    "63.0235936    0.105264137235745    28.6156034598028"
    Therefore values of channels with same index (and a header) are compound to one cell due to quotation marks around.
    By me it doesn't happen, but by a client.
    Client has normal German Windows 7 region/language configuration.
    Any idea, how a client can save as csv without quotation marks around the line?
    Solved!
    Go to Solution.

    Using a script it is possible to write CSV files Excel natively opens like given in this forum entry.
    But be aware that you need different kind of files depening on your country.
    In the Excel world CSV means "Character Separated Values".
    e.g.:
    US
    dim targetFilePath : targetFilePath = "C:\temp\EXAMPLE.csv"
    Call DataFileSave("<filename>" & replace(targetFilePath, "&", "&amp;") & "</filename><decimalpoint>.</decimalpoint><delimit​er>,</delimiter>", "CSV")
    Germany
    dim targetFilePath : targetFilePath = "C:\temp\EXAMPLE.csv"
    Call DataFileSave("<filename>" & replace(targetFilePath, "&", "&amp;") & "</filename><decimalpoint>,</decimalpoint><delimit​er>;</delimiter>", "CSV")

  • Why does Pages not support French quotation marks?

    Hello,
    I've got the following problem:
    I like using Pages to write my texts. But unfortunately *Pages doesn't support French quotation marks, e.g. « Example. »* what Microsoft Office supports since years. Pages does know the other quotation marks „Example.“.
    An other particularity of French quotation marks is, that there is a special space between the quotation marks and the word required; those are called "espaces insécables" (indivisible spaces?) which word inserts automatically.
    The same problem exists with other special marks (i.e. "?", "!", ";" and ":"), which require an "espace insécable".
    This is just a killer-problem, when writing a paper, which is important. So I can't really use Pages and do have to use Word...
    Can anyone help me?
    I hope this will be fixed in the next version of iWork!
    Thanks a lot.

    Magnus Lewan wrote:
    I found a reference to the non-breaking space being alt+(space). I think it should work, but I'm surprised that it does when documents are imported from Word.
    I've looked for that on the swiss-french keyboard layout. In fact, it is shift + alt + space. But, as I already remarqued, this doesn't really help, because Pages obviously doesn't know how to treat those spaces, that is to say that there won't be any difference if you do a non-breaking space or a normal space...
    Henrik Holmegaard wrote:
    There are two models for supporting this, either you do it in the application (Microsoft) or you do it in the font file (Apple). There are further implications depending on whether you change the content of the character stream or the content of the glyph stream.
    The principle of is to preserve plain text as plain as at all possible. The more one manipulates plain text, the less possible it becomes to search plain text since search systems have to include private synonyms that ignore this or presuppose that.
    Apple's original idea was to do as much as possible in 'glyph space' / 'data space' in order to leave 'character space' / 'code space' in the font file as plain as possible. Finite state machines in Apple TrueType 2 are able to do the type of thing you are asking for, but at this point there is no TrueType 2 font file with these features.
    You may be right, I don't really know it. There must be another solution.
    Nevertheless, this problem has to be fixed by our little friends in Cupertino... I would like Page to work how I expect it to do that...
    Well, thanks a lot for all.

Maybe you are looking for