Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 28 FEB 1998 05:24:22PM Craig Griffin [email protected] wrote:

I am looking for an easy way to call a batch file, or any other non OI

executable file from within OI (Similar to the Visual Basic AppActivate statement).

Any suggestions greatly appreciated


At 28 FEB 1998 07:08PM Blaise (Revelation) wrote:

Craig,

You can call the batch file using the 'UTILITY' function. Pass the first parameter as 'RUNWIN' and the second parameter as the path to the batch file including the file name. Take a look at the help for 'UTILITY' if you are unsure of the correct syntax.

Good luck…

-Blaise


At 02 MAR 1998 07:52AM Cameron Revelation wrote:

Craig,

I am looking for an easy way to call a batch file…

In addition to the Utility("RUNWIN", Command) method of executing a program, some DOS commands are not actually programs (they are built in to DOS) and so you have to execute them as follows:

<code>
Utility("RUNWIN", "command.com /c ": Command)

</code>

Cameron Purdy

[email protected]

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/ad357a8588c736e9852565b9007b14d7.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1