JUSTDRIVE( ) Function

Returns the drive letter from a complete path.

JUSTDRIVE(cPath)

Return Value

Character

Parameters

  • cPath
    Specifies the complete path name for which you want only the drive.

See Also

Reference

ADDBS( ) Function

DEFAULTEXT( ) Function

FILE( ) Function

FORCEEXT( ) Function

FORCEPATH( ) Function

JUSTEXT( ) Function

JUSTFNAME( ) Function

JUSTPATH( ) Function

JUSTSTEM( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)