Topic group Related topics
Executes a program or operating system command from within dBASE Plus, returning the instance handle of the program.
RUN([<direct expL>,] <command expC>)
Determines whether RUN( ) runs a Windows program directly (true) or through a command prompt (false). If <command expC> is not a Windows program, <direct expL> must be false, or RUN( ) has no effect. If you omit <direct expL>, dBASE Plus assumes a value of false.
A Windows program name or a command recognized by your operating system.
Use RUN( ) to execute another Windows program or an operating system command from within dBASE Plus.
To run another Windows program, <direct expL> should be true; otherwise, a separate command prompt is opened first, and you cannot get the returned instance handle.