RUN Command Not Available in FoxPro for Macintosh

ID: Q123722

2.60a 3.00b MACINTOSH kbprg

The information in this article applies to:

  • Microsoft FoxPro for Macintosh, version 2.6a
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

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:

1. Use the AppleScript Script Editor to record or write a script that

   launches the desired application.

2. Save the newly created script.

3. In your FoxPro program, add the following command to run the

   AppleScript:

   RUNSCRIPT <script name>

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

Additional reference words: VFoxMac 3.00b FoxMac 2.60a KBCategory: kbprg KBSubcategory: FxprgGeneral

Keywords          : kb3rdparty FxprgGeneral 
Version           : 2.60a 3.00b
Platform          : MACINTOSH


Last Reviewed: May 13, 1998
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.