Partager via


SYS(5) - Default Drive

Returns the current Visual FoxPro default drive.

SYS(5)

Return Value

Character

Remarks

This function returns the current Visual FoxPro default drive. Use SET DEFAULT or CD to specify a default drive.

Example

CD "C:\Program Files"
?SYS(5)

SET DEFAULT TO C:
?SYS(5)

See Also

Reference

DRIVETYPE( ) Function

CD | CHDIR Command

SET DEFAULT Command

SYS( ) Functions Overview