Scripting Language -how to enter double quote

Hi Everyone,
On scripting language (Python), at call settings tab, under argument expression -how do I enter the following argument:
-z "c:\Program Files (x86)\7-Zip\7z.exe" -d 192.168.1.50 --fl2 myFilename.fl2 --fl_sel vf_oy
Python script calls "c:\Program Files (x86)\7-Zip\7z.exe" as part of the argument.
The complete call:
python fth.py -z "c:\Program Files (x86)\7-Zip\7z.exe" -d 192.168.1.50 --fl2 myFilename.fl2 --fl_sel vf_oy
I am using Teststand 2012.  Thanks,
Frank

Hi Doug,
Thanks for your help and after running with suggested solution I got code error 2  from Python script:
"-z \"c:\\Program Files (x86)\\7-Zip\\7z.exe\\\" -d 192.168.1.50 --fl2 myFilename.fl2 --fl_sel vf_oy"
However it works fine if I remove the last two "\\"
"-z \"c:\\Program Files (x86)\\7-Zip\\7z.exe\" -d 192.168.1.50 --fl2 myFilename.fl2 --fl_sel vf_oy"
Thanks for your help.
Frank

Similar Messages

  • How to replace double quotes with a single quote in a string ?

    Hi All:
    Can some one tell me how to replace double Quote (") in a string with a single quote (') ? I tried to use REPLACE function, but I couldn;t get it worked.
    My example is SELECT REPLACE('STN. "A"', '"', ''') FROM Dual --This one throws an error
    Thanks,
    Dima.

    Whether it is maybe not the more comfortable way, I like the quoting capabitlity from 10g :
    SQL> SELECT REPLACE('STN. "A"', '"', q'(')') FROM Dual;
    REPLACE(
    STN. 'A'{code}
    Nicoals.                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to store double quote into a string?

    How to store double quote into a string?
    What I mean is:
    suppose I want to save the following sentence into string s:
    What is the syntax?
    Thanks a lot!

    String s = "<a href=\"../jsp/Logout.jsp\">"
    check out this page
    http://java.sun.com/docs/books/tutorial/index.html
    Hope this helps

  • How to handle ' " '(double quotes) in .csv file during migration

    I am facing problem in migrating data from sql server 2000 into oracle via .csv file using sql loader.
    1>How should i migrate the string which contains ' " ' (double quotes) characters,
    as i am enclosing the string in ' " ' in .ctl file (enclosed by ' " ').
    is there any syntax in the control file which can migrate the ' " '(double quotes) as it is as the data in the files is 50000 records .?
    Thank you..

    Yes this is correct.
    but problem will occur when e.g check the foll. string.
    (1001,And I quote "This, will work")
    Here it is a comm(,) in b/w "This and will".
    due to this sqlldr interpret it as end of field. and throws an error.
    I had gone through expert one on one oracle, what it maintioned as,
    put an extra double quotes( " ) like " " to enclosed the double quoted string.
    This works fine. For small data it can be done manually.
    But for large data what condition can be put in the ctl file to achieve this?
    or is there any other way to achieve this?
    Thank you.

  • How to escape double quotes in database link login

    CREATE DATABASE LINK AA
    CONNECT TO NAME
    IDENTIFIED BY PASS"WORD
    USING "DOMAIN"
    given error of missing double quote identifier. already tried PASS\"WORD, 'PASS"WORD', \PASS"\WORD, \"PASS\"WORD, PASS+CHAR(34)+WORD. no luck.
    I am not in position to change the database password. It can be successfully connected without database link.
    Thanks for any comment.

    How about:
    begin
      execute immediate 'CREATE DATABASE LINK AA CONNECT TO NAME IDENTIFIED BY PASS"WORD USING "DOMAIN"';
    end;

  • Javax.mail.internet.AddressException how to escape double quote

    When I try and parse the following internetaddress:
    InternetAddress.parse("sevsev o'first sevsev o\"last <[email protected]>")I get the following stacktrace:
    Tomcat Log [(CKY50) 2006/09/27 15:26:29.217]: 4 Email.setReplyToAddresses() javax.mail.internet.AddressException: Missing '"' in string ``sevsev o'first sevsev o"last <[email protected]>'' at position 52
            at javax.mail.internet.InternetAddress.parse(InternetAddress.java:676)
            at javax.mail.internet.InternetAddress.parse(InternetAddress.java:529)
            at javax.mail.internet.InternetAddress.parse(InternetAddress.java:506)How do I escape the double quote? Thanks in advance!

    Thanks for the quick response, I tried that and got the same stacktrace:
    Tomcat Log [(3YVJS) 2006/09/27 15:44:38.554]: 4 Email.setReplyToAddresses() javax.mail.internet.AddressException: Missing '"' in string ``sevsev o'first sevsev o"last <[email protected]>'' at position 52
            at javax.mail.internet.InternetAddress.parse(InternetAddress.java:676)
            at javax.mail.internet.InternetAddress.parse(InternetAddress.java:529)
            at javax.mail.internet.InternetAddress.parse(InternetAddress.java:506)

  • How to Include Double Quotes in the Column Name

    Hi,
    I am using Dynamic Sql for creating the columns of a table. I am getting a situation where the user will give the double quotes for some column names. So,Can we add double quote to the column name.
    Thanks in advance.
    Regards,
    Alok Dubey

    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/sql_elements008.htm
    However, neither quoted nor nonquoted identifiers can contain double quotation marks or the null character

  • Double Quotes in MaxL Strings

    I am trying to pass in a calc script string from a Perl script to a MaxL script. The calc script needs double quotes around some of the member names (yes, I know I can create aliases with underscores to work around this, but I can't believe this isn't possible). I can escape the double quote characters in Perl, no problem. But the double quotes just get stripped by MaxL. Here is an example:<BR><BR>MAXL> echo 'I am "quoting" this';<BR><BR>I am "quoting" this<BR><BR>MAXL> set X = 'I am "quoting" this';<BR><BR>MAXL> echo $X;<BR><BR>I am quoting this<BR><BR>MAXL><BR><BR>There is nothing in the docs about escaping double quote characters. I've tried using backslash, no luck there. I've tried using double double quotes and they all get stripped. I've tried doing this inside single quoted strings and double quoted strings - no joy whatsoever. The funny thing is the example above, where simply echoing the literal string works, but assigning it to a variable strips out the double quotes.<BR><BR>Does anyone know how to get double quotes into a MaxL string variable? There has to be a way...<BR><BR>Thanks,<BR><BR>James

    Yes, I've dealt with enclosing variables in double quotes in order for MaxL to parse them properly, but what I'm trying to do is use a variable that contains a double quote. Such as:<BR><BR> set QuoteVar = 'I am "quoting" this';<BR><BR>I'm trying to set substitution variables via MaxL, and some of my existing sub vars have double quotes in them so that they can be used to store member names that appear in calc scripts. As I said, I know I can accomplish this with an alias table that creates a version of the member name that doesn't need quotes, but that's a whole deal to maintain just for this one thing and it seems overly burdensome for such a simple task.<BR><BR>Also, as I said, MaxL does fine with double quotes in literal strings, it's only when assigned to variables that it always strips them out. I want to create a relatively generic script for setting sub vars, so I need to pass variables around. Just calling MaxL from Perl and passing in parameters that get converted to $1, $2, etc. causes these double quotes to get stripped.<BR><BR>So, is there any way around this?<BR><BR>Thanks,<BR><BR>James

  • JS - surrounding selected text with double quotes

    I have a working script which places brackets around selected text in the main body of my document (not in a table), but when I changed the script to insert double curly quotes, the script wont work.
    Why wont this JS work (script stalls on the var line):
    var myObject = (app.selection[0].parent.constructor.name == "Cell") ? app.selection[0].parent.texts[0] : app.selection[0];
    with (myObject)
    insertionPoints[-1].contents = "";
    insertionPoints[0].contents = "";
    while this one does work:
    var myObject = (app.selection[0].parent.constructor.name == "Cell") ? app.selection[0].parent.texts[0] : app.selection[0];
    with (myObject)
    insertionPoints[-1].contents = ")";
    insertionPoints[0].contents = "(";
    Thx Oz
    PS The quotes are showing as three straight quotes above, but in my script they are two straight double quotes surrounding either a right or a left curly double quote.

    Perhaps there's a Smart Quotes interpreter in JS? Who knows.
    If you find it failing again, try inserting the quotes as Unicode values, as these should not be subject to any translating.
    I.e.,
    >insertionPoints[-1].contents = "\u201c";

  • Maxl embedded double quotes

    Hi, I cannot find out how to embed double quote in a shell variable.I'm using Essabe v 6.5.1, Maxl build 122(in fact it is IBM DB2 Olap 8.1/Fix1)on AIX (with DB2 UDB v 7.1).Example: set var='"P1"';gives P1 as the content of the var variable; the content should be "P1"(with double quotes); I've tried with all combinations ofsingle and double quotes, slash and backslashes bud didn't succed.I you have answer to this, you don't need to read the rest of the post*because, my main goal is to create filter using position parameter variables which contains numericcharacters. For example: maxl -a 028Now, the content of $1 is 028and I'm trying to create filter:create filter app.db.flt_name read on "'$1'";but I get an error; if $1 containsalpha character (e.g. P1) everything isOK); If I use constant:create filter app.db.flt_name read on '"028"';it is also ok (note, now single quotes are going the first and double quotes follow)I suppose, if there is a way to embed double quote in a variable then I could resolve this filter creation problem.Thanks & Regards

    What shell are you using. When I try this with ksh (omitting set), it works.>var='"P1"'>echo $var"P1"Jerry Ursetti

  • Update with double quotes

    Hi,
    How to include double quotes in a update statement?
    UPDATE sampletable
    SET description = '<p style="font-weight: bold; color:Red;"> Message to Employee </p>'
    WHERE empid = 1;
    Expected output with I query table,
    select description from sampletable WHERE empid = 1;
    <p style="font-weight: bold; color:Red;"> Error Message </p>
    Table definition:
    sampletable
    empid number
    description varchar2(200)
    Thanks

    Please use the {noformat}{noformat} tag at the beginning and end of your examples.SQL> create table sampletable( empid number, description varchar2(2000));
    Table created.
    SQL> insert into sampletable values (1, null);
    1 row created.
    SQL> UPDATE sampletable
    2 SET description = '<p style="font-weight: bold; color:Red;"> Message to Employee </p>'
    3 WHERE empid = 1;
    1 row updated.
    SQL> select * from sampletable;
    EMPID
    DESCRIPTION
    1
    <p style="font-weight: bold; color:Red;"> Message to Employee </p>
    Your question is not clear: why are you expecting "Error Message" instead of "Message to Employee"?
    What do the double quotes have to do with it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Single and double quotes entered in form field cause corruption?

    I am creating a database change request system using in APEX 2.2 and the main form has a description field (clob) and a API_description field (varchar2(4000)) that are text area fields on the page. The form seems to have trouble when the string data entered into the text area page items on the form contain single and double quotes.
    <br><br>
    I have pasted my test data below in this problem description(this is not true sql but it gets the point accross). I use the wizard created insert process to get the data into the db from the text fields in the wizard generated form, then use the wizard created fetch process to get the data back out and rendered on the same form. When I use the test data below, sometimes a few characters dissappear from my input data on the way out, sometime form fields go away, and their html is interspersed with the previous form field's data on the page. And I get different results on different tests with the same data.
    <br><br>
    Do I have to do something special for a vanilla htmldb text page item on a form to be able to receive single and double quotes in the string input in order to avoid that string data confusing the processing on the way in to the Database or on the way out for rendering?
    <br><br>
    Do I have to escape the characters? How do I do this?
    <br><br>
    The "varchar2(1) := ‘A’" part of the below TEST DATA string seem to cause the most trouble. The behavior is erratic - sometimes the pattern works, sometimes html is interspersed in one place, sometimes another (on the way back out)
    <br><br>
    START TEST DATA:
    Add column pcl3_data_ind varchar2(1) to edc_tran,edc_log, edc_recreate_tran table
    Or
    Create a file with following sql in it
    Insert into sometable values(‘A’,sysdate);
    Or
    create new table as follows
    create table “someschema”.“sometable”
    (id number not null,
    Name varchar2(20) not null,
    Join_date sysdate
    Active varchar2(1) := ‘A’
    END TEST DATA:
    <br><br>
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Here is an example of the test data being displayed after being fetched back out of oracle (this will look like gibberish when rendered in the forum system (end of problem description except for example):
    <br><br>
    env
    Add column pcl3_data_ind varchar2(1) to edc_tran,edc_log, edc_recreate_tran table
    Or
    Create a file with following sql in it
    Insert into sometable values(‘A’,sysdate);
    Or
    crete new tableas follws
    crate table “somesca”.“sometable”
    har2(20) not null,
    Join_date sysdate
    Active varchar2(1) := ‘A’
    woextarea>
    <a class="eLink" title="Edit" href="javascript:popupURL('f?p=4000:371:204538675714370::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:1034609472735510,104,2');" tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" /></a></td></tr><tr><td nowrap align="right"><label ...

    I found a good php related post that has a nice set of the potentially problematic characters (this is in the context of word pasted into IE I think). I am pretty confident that at least single curly quotes do not work well in apex 2.2). I would not be surprised if some of the others were trouble as well.:
    http://lists.evolt.org/archive/Week-of-Mon-20030602/141975.html
    here is the list
    $trans_tbl[chr(34)] = '"' ;          //      quote
              $trans_tbl[chr(38)] = '&' ;          //      ampersand
              $trans_tbl[chr(60)] = '<' ;          //      less-than
              $trans_tbl[chr(62)] = '>' ;          //      more-than
              $trans_tbl[chr(128)] = '€' ;     //      euro
              $trans_tbl[chr(129)] = '€' ;      //     euro
              $trans_tbl[chr(130)] = '‚' ;      //     low quote
              $trans_tbl[chr(131)] = 'ƒ' ;      //     florin
              $trans_tbl[chr(132)] = '„' ;      //      double low quote
              $trans_tbl[chr(133)] = '…' ;      //     ellipsis
              $trans_tbl[chr(134)] = '†' ;     //     dagger
              $trans_tbl[chr(135)] = '‡' ;      //     double dagger
              $trans_tbl[chr(136)] = 'ˆ' ;      //     circumflex
              $trans_tbl[chr(137)] = '‰' ;      //     per thousand
              $trans_tbl[chr(138)] = 'Š' ;      //     S caron
              $trans_tbl[chr(139)] = '‹' ;      //     left angle quote
              $trans_tbl[chr(140)] = 'Œ' ;      //     OE ligature
              $trans_tbl[chr(142)] = 'Ž' ;      //     Z caron
              $trans_tbl[chr(145)] = '‘' ;      //     left single quote
              $trans_tbl[chr(146)] = '’' ;      //     right single quote
              $trans_tbl[chr(147)] = '“' ;      //     left double quote
              $trans_tbl[chr(148)] = '”' ;      //     right double quote
              $trans_tbl[chr(149)] = '•' ;      //     bullet
              $trans_tbl[chr(150)] = '–' ;      //     en dash
              $trans_tbl[chr(151)] = '—' ;      //     em dash
              $trans_tbl[chr(152)] = '˜' ;      //     small tilde
              $trans_tbl[chr(153)] = '™' ;      //     trademark
              $trans_tbl[chr(154)] = 'š' ;      //     small s caron
              $trans_tbl[chr(155)] = '›' ;      //     right angle quote
              $trans_tbl[chr(156)] = 'œ' ;      //     oe ligature
              $trans_tbl[chr(158)] = 'ž' ;      //      small z caron
              $trans_tbl[chr(159)] = 'Ÿ' ;      //     Y with diaeresis
    <br>
    -Geoffrey

  • How to create a scripting language in java?

    Hello,
    All that I want to do is to create a scripting language in java. I�m familiar with javacc, jsr223 and other things but don�t know how to start. The language syntax is java 5 syntax with some change and I want to generate java source code from small scripts. In fact I don�t know how other languages (like groovy) are created.
    I hope you can show me the required steps.
    Looking forward to hear from you.
    Thanks.

    That's all, huh?
    For a start, generally when I hear "scripting language" I'm thinking interpretter, not a system which creates compiled (or compilable) code.
    I get the impression that what you're talking about is what I'd call a "preprocessor" language, some extra syntax added to java which the preprocessor renders into ordinary java.
    As far as complexity is concerned, much depends on how deeply involved the extra syntax is with the embedded ordinary Java. Does you preprocessor need to understand the java, or is it just embedded as text? How easilly identified are your preprocesor statments? It's a lot easier to do this if preprocessor lines are instantly identifiable from Java code (e.g. start with a #).
    Basically the stages are always the same;
    1) Lexical analysis i.e. picking out words, operators, numbers, quoted strings.
    2) Construct a syntax tree.
    3) Generate code (in this case Java).
    Now, in this case, some of the nodes in the syntax tree may simply be chunks of undigested Java.

  • How to replace single quote with double quote

    hai all,
    i have a problem,
    i am trying insert a string containing single quote into ms-access database.
    it is giving error.
    how can i avoid this .if i replace a single quote in the text with double quote it will defenitely
    insert into database.
    in java.lang.String
    replace () will not work to replace quote with double quote.
    any otherway to solve this problem.
    please mail me to [email protected]
    thank you
    sambareddy
    inida

    java.lang.String.replace () will not work to replace quote with double quote.Really?
    String x = ...
    x.replace( "'", "\"" );

  • How to enclosed the column with in double quotes while spooling to csv fie

    Dear Members,
    I have to spool a sql to a CSV file. I have two columns to spool one is vendor_id and another is vendor_name. But the 2nd column vendor_name has commas in it so if i see the o/p it looks like this:
    Suppose vendor_id = 12790 vendor_name = T T I, INCORPORATED
    when i see the csv file it looks
    12790,T T I, INCORPORATED
    I want each column be enclosed in double quotes like this
    "12790","T T I, INCORPORATED"
    How can i do this in sql*plus while spooling to a csv file.
    Thanks
    sandeep

    this?
    SQL> select '"'||'Hi'||'"'||',"'||'how'||'"' from dual;
    '"'||'HI'|
    "Hi","how"

Maybe you are looking for

  • How do you get a song to play for more than one slide???

    I'm new to mac and I am trying to create a birthday video but the audio will not continue for more than 1 slide. I can do it in powerpoint but I want to burn the presentation onto DVD. Thanks for your help!

  • Audigy Noise in Win XP

    Ever since I upgraded to XP Pro my I get extra noise when playing from any sound source, .WAV, MIDI file, mp3 or even a CD when is playing in the background. Noise usually happens on say moving a window or scolling i.e. just about all the time, proce

  • Report integration to forms in 10g IDS

    Hi My package was created using D2K 6.0 version. I donot have access to 6i. Converted the same in 9i first. The proceeded to 10g. While converting forms there were no problems. But reports is a different story. If i compile and run the rdf file in re

  • Adjust bit rate on movie replay

    When I go to YouTube to view videos on my PB G4, I can adjust the streaming bit rate from 480 to 360 to 240. I need to play at 240 on my unit in order to keep the video clip streaming without halting, probably due to my limited RAM capacity of 1.25 m

  • Problems with share screen in lion

    Hello I have had problems with share screen since i have installed Lion. I can't share screen even inside the Lan, between Macs and between Mac and Iphone. It's like Lion would had some port block in any hidden place. Anyone knows something about it?