Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: How do I run a Batch File from Forms 4.5?

Re: How do I run a Batch File from Forms 4.5?

From: <stevec_at_zimmer.csufresno.edu>
Date: Thu, 12 Nov 1998 18:14:06 GMT
Message-ID: <72f8he$9d4$1@nnrp1.dejanews.com>


In article <72c3p5$jc2$1_at_nnrp1.dejanews.com>,   tripsmom_at_my-dejanews.com wrote:
> Help! I am trying to call a DOS executable application (a *.bat file)
from
> a button in Oracle Designer 4.5. When I execute the *.bat file directly from
> Explorer and from MS DOS, it works fine. When I call the *.bat file from
> within Forms, DOS comes up, then goes away and it doesn't execute anything.
> I'm calling the file within the button using the host command. It seems as
> though the host command calls it differently.

The Host command should do the job. Maybe your .bat file is not in the forms directory, or it is trying to do something with files outside the forms directory.

Steve Cosner

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Thu Nov 12 1998 - 12:14:06 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US