SYS(5) Returns Default Drive Setting in FoxPro for UNIX

Last reviewed: August 28, 1995
Article ID: Q114997
The information in this article applies to:
  • Microsoft FoxPro for UNIX, version 2.6

In FoxPro version 2.6 for UNIX, the SYS(5) function returns the default drive setting. If no SET DEFAULT command is executed, FoxPro for UNIX returns C: for the default drive. However, if there is another drive on the current machine and SET DEFAULT is set to that drive, SYS(5) will return that drive instead. For example, if the machine has a D drive and SET DEFAULT TO D: is issued, ?SYS(5) returns D:.


Additional reference words: FoxUnix 2.60 SYS err bad specifier
KBCategory: kbprg
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.