Command RUN Foundation
Executes an operating system command or a program.
RUN | ! <cCommandline>
This command exists only for compatibility reasons and should no longer be used. The two functions RunShell() and RunRexx() should be used instead.
The ! form of the command RUN also exists only for compatibility reasons and should no longer be used.
The command RUN starts a new command processor and passes the argument <cCommandline> to it. This argument is valid only for the new process and not for the process of the Xbase++ application. A typical use of RUN under DOS (Clipper) was changing the current path, for example:
This use of RUN is not possible under 32bit operating systems (Xbase++), since the path would be changed only for the new process. To define the path or the drive for the process of the Xbase++ application, the function CurDir() or CurDrive() must be used.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.