Calling DOS Batch File from OI (OpenInsight Specific)
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