Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ifrun60.exe commandline escape characters

2822481Dec 21 2009 — edited Dec 21 2009
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2010
Added on Dec 21 2009
5 comments
2,291 views