Microsoft KB Archive/123722

= RUN Command Not Available in FoxPro for Macintosh =

Article ID: 123722

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft FoxPro 2.6a Professional Edition for Macintosh
 * Microsoft Visual FoxPro 3.0b for Macintosh

-



This article was previously published under Q123722



SUMMARY
The FoxPro RUN command is not implemented in FoxPro for Macintosh. The Macintosh operating system does not have the equivalent of an MS-DOS command prompt; so it isn't possible to run an external program.



MORE INFORMATION
Equivalent functionality can often be programmed through use of the FoxPro RUNSCRIPT command to run an AppleScript to launch the external program.

To use this feature, perform these steps:  Use the AppleScript Script Editor to record or write a script that launches the desired application. Save the newly created script.  In your FoxPro program, add the following command to run the AppleScript: RUNSCRIPT 

NOTE: AppleScript is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding AppleScript's performance or reliability.

Additional query words: VFoxMac FoxMac

Keywords: kb3rdparty KB123722

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.