Ifrun60.exe commandline escape characters

Scenario: Trying to call a form from the right-click context menu of any windows file via windows explorer and pass the form the filepath of that file. The form has a user-defined form parameter (:parameter.filepath) that expects that filepath.
Problem: eveything is working and am in testing phase and have found that a single quote in the filename/path being passed to the form cause the ifrun60.exe to display the error "frm-90928: position paramter after key on commandline".
Reason for problem: it is clear that this error occurs only when there is a single quote " ' " in the command line as below where the %1 is, for example, "john's leave.xls".
c:\orant\bin\ifrun60.exe module=test.fmx userid=whatever@whereever usesdi=yes FILEPATH="%1"
I understand that this is a result of the fact that the executable treats single quotes as string starters/termintators. I therefore need to dynamically specify to the commandline to ESCAPE single quotes....anyone have any idea how to do this - ideally this would not involve calling a BAT file (for other reasons).
any input would be appreciated. many thanks in advance.

afraid not.
tried and it fails to bring up form completely. It has to do with ifrun60 interpreting the single quote within the string as a /startterminator, i think therefore that i need to add another single quote next to each individual single quote (this works when done manually)...but it has to be dynamic and in the cmdline itself.....tricky!

Similar Messages

  • How can I use escaped-characters in an option

    I have the following code that is used to retrieve city-names including parent-child relations from a database and place them in an array:
    <%@ page contentType="application/x-javascript" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <sql:setDataSource dataSource="jdbc/KADOS" var="Raak" scope="session" />
    <sql:query var="bewaringSQL" dataSource="${Raak}">
    SELECT bewaringcode, vestigingsplaats FROM BEWARING order by vestigingsplaats
    </sql:query>
    bewaringen = new Array(
    <c:forEach items="${bewaringSQL.rows}" var="plaats" varStatus="s" >
    new Array( "<c:out value="${plaats.BEWARINGCODE}" />",
    "<c:out value="${plaats.VESTIGINGSPLAATS}" />" )
    <c:if test="${not s.last}">,</c:if>
    </c:forEach>
    i=0;
    <c:forEach items="${bewaringSQL.rows}" var="plaats" varStatus="s" >
    <sql:query var="bewaringGemSQL" dataSource="${Raak}" sql="SELECT KADGEMCODE, KGMNAAM FROM KADGEMEENTE where BEWARINGCODE=? order by KGMNAAM">
    <sql:param value="${plaats.BEWARINGCODE}" />
    </sql:query>
    tmp = new Array(
    <c:forEach items="${bewaringGemSQL.rows}" var="gem" varStatus="s" >
    new Array( "<c:out value="${gem.KGMNAAM}" />",
    "<c:out value="${gem.KADGEMCODE}" />" )
    <c:if test="${not s.last}">,</c:if>
    </c:forEach>
    bewaringen[2] = tmp;
    i = i+1;
    </c:forEach>
    function bewaringenList(selectCtrl, itemArray) {
    for (i=0; i<itemArray.length; i++) {
    selectCtrl.options[i] = new Option(itemArray[i][1]);
    selectCtrl.options[i].value = itemArray[i][0];
    function setList(selectCtrl, itemArray) {
    for (i=selectCtrl.options.length; i>=0; i--) {
    selectCtrl.options[i] = null;
    for (i=0; i<itemArray.length; i++) {
    optie = filter(itemArray[i][0]);
    selectCtrl.options[i] = new Option(optie);
    selectCtrl.options[i].value = itemArray[i][1];
    function filter( invoer) {
    retour = invoer;
    retour = retour.replace("'", "\'");
    return retour;
    The function 'bewaringenList' populates a <SELECT> with parent-names and
    "setList(document.VraagForm.gemSelect, bewaringen[this.selectedIndex][2]);" populates the depending <SELECT> with child-names.
    Some names contain single quotes (like "&#039;t Zandt") and are displayd in the select-box as "&#039t Zandt".
    I expected that the quotes could be replaced by escape-characters by 'filter(invoer)' but this does not work.
    Is there a generic way to show these characters?
    Ben

    I don't understand why but this filter solved the problem:
    function filter( invoer) {
    retour = invoer;
    retour = retour.replace("&#039;", "'");
    return retour;

  • Issue with escaping characters and php

    Greetings,
    We are working on a web page using php and Oracle. We have troubles dealing with the diferent escaping characters when inserting/retrieving data (magic quotes is on but adding the backslash doesn't help :( ).
    We would like to know the correct way of dealing with those characters ( ' " / /n ...).
    Thank you in advance,
    Sincerely,
    Oriol Nonell

    Do NOT use addslashes/stripslashes to escape your queries. I use this function to do the escaping:
    function escapeSQL($string, $wildcard=false)
    $result = str_replace("'","''",$string);
    if ($wildcard == true) $result = str_replace("%","%%",$result);
    return $result;
    It basically replaces ' with ''.
    If you set $wildcard to false, then '%' is considered to be an actual '%' (for 'like' expressions). If you set it to true, a % is escaped to %% too.

  • Web Logic 10.3 upgrade causes issues with escaped characters in JSP.

    We recently upgraded our application servers from Weblogic 9.2 to Weblogic 10.3 and we are having an issue with escaped characters in a JSP code. Here is an example of what we are seeing:
    var convertedBody1 = document.getElementById('body').value.replace(/\$FIRST_NAME\$/g, firstName);
    This code works in Weblogic 9.2. In Weblogic 10.3 we have to make the following changes:
    var convertedBody1 = document.getElementById('body').value.replace(/\$FIRST_NAME\$/g, firstName);
    Thanks, Tom

    Hi:
    I have resolved the issue with the following in the jspx page.
    Put an
    <jsp:scriptlet>
    response.setContentType(“text/html; charset=UTF-8”);
    </jsp:scriptlet>
    Inside the <f:view> on the jspx file.
    Please refer the link http://www.oracle.com/global/il/support/tip/nlss11061.html for more details. It is helpful.
    Thanks & Regards
    Sridhar Doki

  • VLD-1141, Template cannot contain escape characters.

    Hi All,
    I need help about mapping deployment. I am working on a mapping. I can deploy it before to 9i target location. But after upgrading target database to 10g, I get the error VLD-1141 when I deploy it. The detail is Template cannot contain escape characters.
    And the full error message is as following:
    VLD-1141: Internal error during mapping generation.
    java.lang.IllegalArgumentException: Template cannot contain escape characters.
    at oracle.wh.util.expr.WBLiteralExpression.<init>(WBLiteralExpression.java:34)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.addContextExpressionsForGroups(GenericTransformGenerationDelegate.java:345)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.prepareOutputContextPlSql(GenericTransformGenerationDelegate.java:1433)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformPlSqlDelegate.prepareOutputContext(GenericTransformPlSqlDelegate.java:147)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:239)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoopInternal(PlSqlGenerationMediator.java:3206)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoop(PlSqlGenerationMediator.java:3190)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleRowBased(PlSqlGenerationMediator.java:3115)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:538)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:770)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:316)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:99)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:241)

    There are to bugs:
    Bug 5403652 - ERROR 'TEMPLATE CANNOT CONTAIN ESCAPE CHARACTERS' WHEN VALIDATING A MAPPING
    Bug 5561224 - MIGRATION OF MAPPING REQUIRES CHANGE IN CONFIG TO ALLOW VALIDATION
    against OWB 10.2.0.1
    but these bugs are fixed from 10.2.0.2
    The bug is related to pre/post mapping operators...
    If you are on 10.2.0.3 or your mapping does not have these operators then have no clue...

  • Displaying unicode or HTML escaped characters from HTTPService in Flex components.

    Here is a solution on the Flex Cookbook I developed for
    displaying data in Flex components when the data comes back from
    HTTPService as unicode of HTML escaped data:
    Displaying
    unicode or HTML escaped characters from HTTPService in Flex
    components.

    Hi again Greg,
    I have just been adapting your idea for encountering
    occasional escaped characters within a body of "normal" text, eg
    something like
    hell&ocirc; sun&scaron;ine
    Now, the handy String.fromCharCode(charCode) call works a
    dream if instead of the above I have
    hell&#244; sun&#353;ine
    Do you know if there is an equivalent call that takes the
    named entities rather than the numeric ones? Clearly I can just do
    some text substitution to get the mapping, but this means rather
    more by-hand work than I had hoped. However, this is definitely a
    step in a useful direction for me.
    Thanks,
    Richard
    PS hoping that the web page won't simply outguess me and
    replace all the above! Basically, the first line uses named
    entities and the second the equivalent numbers...

  • Ifrun60.exe problem

    hi all,
    I am bit new to forms and trying to understand a few things.
    What is the significance of ifrun60.exe in 6i?
    what is its replacement in forms 10g?
    My DOS batch file logonPROD.bat has the below line for PRODUCTION
    C:\Oracle\DEV6I\BIN\ifrun60.EXE module=C:\PROD\XPE\logon.fmx
    when i execute the logonPROD.bat file the above form gets called as normal.
    then I created my own logon form which has an additional option for
    database connection ,and placed it in the right directory (TEST)
    the logonTEST.bat has the below line for Test environment.
    C:\Oracle\DEV6I\BIN\ifrun60.EXE module=C:\TEST\XPE\logon.fmx
    when i execute the logonTEST.bat file the NEW TEST logon form does'nt get called but the production form gets called.
    Can someone tell me what changes i need to do to call my logon form for TEST environment ?
    cheers
    s

    > I am bit new to forms and trying to understand a few things....
    ... Can anyone suggest pls ?
    Maybe new to forums, too? You need to let the world turn a little before you get impatient for an answer. Some answers may come from other continents.
    > What is the significance of ifrun60.exe in 6i?
    It is the Forms executable that interprets your compiled .fmx file and runs the form.
    > what is its replacement in forms 10g?
    There is none. In Forms 10g, they only run in the web environment. You start a web browser, and the browser calls a java executable that interprets and runs the .fmx form.
    > when i execute the logonTEST.bat file the NEW TEST logon form does'nt get called but the production form gets called.
    Are you SURE your test "logon.fmx" file resides in the C:\TEST\XPE path?

  • How to use ifrun60.EXE in forms 6i in forms 10g ?

    I know If end user is going to run forms by double-clicking icons on his/her desktop (MS Windows operating system),so ..... creating a shortcut and point it to run the IFRUN60.EXE (Forms 6i executable) , will be good idea.
    "Target" will then look like this:
    C:\orant\BIN\ifrun60.EXE form_name.fmx scott/tiger@orcl
    that happened when we use Forms6i .... but when we use Forms10g ..... how we do the same ?
    as friend say to me , we suppose here to deploy the forms to web , but I want to deploy them to Local Network or at least to only my computer ...... so is there anyway to turn my computer to server and than deploy my forms ? or any solutions else ?

    In order to deploy forms successfully,not just to web,also to your local host.
    In your install oracle 10g directory:
    like C:\DevSuiteHome_1\forms\server\default.env
    So you have to configure "default.env" or create your file like "your.env" file,in the file,you have to set the path for running the form.
    If you set parameters correctly,you can put the URL into your IE or firefox.
    For example:
    I have an application "app".
    http://app:port/forms/frmservlet?config=default.env(If you use default.env)
    http://app:port/forms/frmservlet?config=your.env(if you use your define env).

  • Official documents on escaping characters in SQL Server query statements

    Hi,
    Are there any official documents on how to escaping special characters in SQL Server query statements? I find a lot of online resources discussing about this, but there are no definitive conclusions on:
    Which characters should be escaped? (Some only said single-quote needs to be escaped, double-quote does not need. While others said both need to be escaped)
    How to escape characters? (Some said using two single-quote to escape a single-quote. Others said using a backslash, etc.)
    So I just wonder if there is an official document from Microsoft regarding this?
    Thanks
    Alan

    Depends on where you're using them
    If its string values then single quotes(') should be escaped by putting one more single quote before it.
    If its LIKE operator you can use ESCAPE keyword or use [] to escapre special characters 
    see
    http://visakhm.blogspot.in/2013/01/wildcard-character-based-pattern-search.html
    If inside SSIS expression you can escape characters like \ " etc by adding an extra \ before the characters
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Bug in replace all. escape characters are not working.

    Hi,
    My requirement is that whenever i see ":" (Colon) in the string then i want to replace it with (\:). So i tried
    String escapedTitle = "title:the world is not enough".replace(":", "\\:")
    and to my surprise, when i printed escapedTitle i got
    title\\:the world is not enough
    instead of
    title\:the world is not enough
    (note the back slash in the string)
    I want to ask why there is a different beehavious of escape characters? I am using JDK1.6.0_06

    Sorry for the last post. Please try this:
    public class test
    public static void main(String a[])
         String escapedTitle = "title:the world is not enough".replaceAll(":+", "\\:"); //or [:]+
         String escapedTitle1 = "title:the world is not enough".replaceAll(":+", "*"); // or [:]+
         System.out.println("Another String is "+ escapedTitle);
         System.out.println("Another String is "+ escapedTitle1);
         System.out.println(System.getProperty("java.vendor"));
         System.out.println(System.getProperty("java.version"));
    output is
    Another String is title:the world is not enough
    Another String is titlethe* world is not enough
    Sun Microsystems Inc.
    1.6.0_06
    Please let me know why i am not getting : as escaped (\:) with replaceAll method.
    i want string escapedTitle as Another String is title*\:*the world is not enough

  • Validation - template cannot contain escape characters

    Hi all, im new to Warehouse builder, i find the documentation lacking, the tutorials lacking and i can't find any books on warehouse builder either. Am I stupid ? :-)
    Anyway, i've set up 3 constants (varchar2) to pass as parameter values to a function im calling and when i try to validate the mapping im getting 'Template cannot contain escape characters'.
    Then im getting validation completed successfully..however, when i try to deploy im getting this:
    VLD-1141: Internal error during mapping generation.
    java.lang.IllegalArgumentException: Template cannot contain escape characters.
    at oracle.wh.util.expr.WBLiteralExpression.<init>(WBLiteralExpression.java:34)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.addContextExpressionsForGroups(GenericTransformGenerationDelegate.java:345)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.prepareOutputContextPlSql(GenericTransformGenerationDelegate.java:1433)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformPlSqlDelegate.prepareOutputContext(GenericTransformPlSqlDelegate.java:147)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:239)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoopInternal(PlSqlGenerationMediator.java:3206)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoop(PlSqlGenerationMediator.java:3190)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleRowBased(PlSqlGenerationMediator.java:3115)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:538)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:770)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:316)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:99)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:241)
    I have no clue whatsoever what this is about, can anyone tell ?

    hi ,
    I also got the same error when i migrated MDL from owb 9.2 version.
    I was using OWB 10.2.01, and heard that it is a bug which is fixed in owb 10.2.0.3
    So i applied the patch and this error gone.
    In case if it help u.
    rojo

  • Template cannot contain escape characters

    I created a database function which takes a varchar2 variable as input and passes back a number as output.
    I am using pre mapping process to call this function and I created a constant with the value I want to pass to this function. When I try to validate my mapping I am getting this error
    Template cannot contain escape characters.
    Why am i gettign this error any ideas as to how to fix this. I know for sure the join of the constant to the input mapping process is causing this error but my constant variable just has
    'xxxxx_xxxx' no other characters.
    Thanks

    Hi
    Are you using the 10.2.0.1 production release, I think this is bug 5403652. It should be fixed in a patch after (10.2.0.2 onwards), you could also try set based only code generation and see if this bypasses the problem (there is a comment in the bug indicating it is a row based code gen bug).
    Cheers
    David

  • Reading in/writing out escape characters from/to file

    I am trying to read in a large file which has many escape/special charaters (e.g. /, double quote (" ") etc.). I need to read them as they are and then write them out in a separate file as they were in the original file (e.g. if there was a double quote in the original file, I would have to keep the double quote in the output file)
    Now my question is: how can we tell the BufferedReader and FileWriter not to treat those characters to be escape characters?
    Thanks

    Now my question is: how can we tell the
    BufferedReader and FileWriter not to treat those
    characters to be escape characters?AFAIK, you don't need to do anything special. BR and FW already do that the right way.
    Did you try the standard approach?

  • Forms runtime (ifrun60.exe) in 9i

    Clearly 9i Application server is nothing but Developer 6i with a 9i badge. The directory structure is still 'forms60' and 'report60', and the forms server binary is 'ifsrv60.exe', etc. HOWEVER - there is no longer an 'ifrun60.exe' binary. This binary would, in the 'real 6i', allow you to run client/server.
    This was a useful 'testing alternative' to using the web version, and also, for our customers (who may not be ready to deploy a full-blown web product), was a viable alternative.
    Are Oracle refusing to deliver this simple binary for marketing purposes? Or do they want to stop supporting it? Has anyone tried copying ifrun60.exe from the 6i package? Thanks.

    Chris,
    Oracle9iAS is oracle's WEB application server and as such it only contains what is needed to run forms on the web (currently verion 6i).
    If you want to develop or run forms in client server you don't need oracle9iAS.
    Version 9i of forms is expected towards the end of the year.

  • Dealing with escape characters

    I have a command that works if I represent it as "\003"+command+"\r" because my command needs to be preceded by the char 'x03' and tailed by the char 'x0d'. The literals "\003" and "\r" are being converted as I wish into their equivalent byte values.
    If I use Java string variables 'start' and 'end' to hold the values "\003" and "\r" and I issue my command as 'start+command+end', the start and end values are NOT converted into byte values. They remain represented as they are written i.e my string command is preceded by '\003' and ends with '\r'.
    How can I convert escape characters stored in string variable into their byte equivalents?
    David

    Please show us the code, because what you say isn't clear. If the Strings are written as
    String start = "\003";  // etx
    String end = "\r";   //crIt should work.
    Often this sort of thing is easier to do with character variable. eg.
    char start = 3;  // etx
    char end = 13;  // crI also wonder why you are using etx (end of text) as the start of text, the usual choice would be stx=\002. Also, none of this has anything to do with "byte" values, they are characters and take 2 bytes each. Your network code can do that conversion for you after you choose your character set. Is it UTF8, Latin-1, or some other.

Maybe you are looking for

  • Is there a error with this code

    import java.applet.Applet; import java.awt.*; import java.awt.event.*; public class ClickMe extends Applet implements MouseListener { private Spot spot = null; private static final int RADIUS = 7; public void init() { addMouseListener(this); public v

  • Performance of BO on top of SAP BI: Please share experiences

    Hi, I was wondering what your experiences are with BO on top of BW regarding performance. Kind regards, Daniel

  • SharePoint Online integration with OnPremises Documentum

    Hi, I need some guidance here. We have dedicated SharePoint 2010 implementation in MSO environment. Now I would like to use SharePoint as front end to create an application and the plan is to store all documents (uploaded via this application) in on-

  • Can't change volume on macbook pro unibody.

    Hi , i have a weird problem with my mac now. Whenever I try to change the volume, nothing happens, and the same sign shows up when you try to switch on the keyboard lighting in broad sunlight. the picture of the sign is below.. http://qkpic.com/26096

  • Idoc in error while trying to post vendor invoice(higher items not allowed)

    Hi All, we have two SAP systems. SAP A and SAP B. SAP A is the vendor for SAP B system we have created a sales order/delivery/out bound invoice in SAP A system.The sales order has BOM material with main item and sub items. We have the same material m