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: Calling a DOS program from within Forms Funtime

Re: Calling a DOS program from within Forms Funtime

From: Frank van Bortel <f.van.bortel_at_vnl.nl>
Date: Wed, 03 Nov 1999 11:02:56 -0800
Message-ID: <382086E0.6CEB4A66@vnl.nl>


Amir wrote:

> Hi
> I am trying to run a DOS program that MUST be run from my local drive , I.E
> "C:\".
> This program gets an ASCII file, that was created by the run time.
> The problems are :
> How can I get the DOS program to run, without using the "Host();" function,
> It doesn't work. That's to say:
>
> If I am running the DOS program by itself, it runs well.
> But when I run it by "Host()" it doesn't seem to be able to read the file
> that was created and copied to her folder. Even though it CAN read the file
> and run well, while running alone, not form within the forms.
>
> How can I get this program to act like it would under the "Host();"
> function, I.E:
> cover over the forms runtime, and after finishing, showing the runtime
> again.
>
> Thanks.

Are there any environment settings this program uses? host will create a "new" dos session, and general environment settings will not be set for that new session.
If you have, call a batch where you explicitely set you environment

--
Met vriendelijke groet/kind regards,

Frank van Bortel
Technical consultant Oracle

Work:                                Home:
----------------------------------   ----------------------------
Inter Access V&L                     Hunzestraat 4
Palatijn 3, 7521 PN Enschede         7555 WB Hengelo
PoBox 545, 7500 AM Enschede          (31)074-2425046
053-4341500 Received on Wed Nov 03 1999 - 13:02:56 CST

Original text of this message

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