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

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:

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