共用方式為


JUSTDRIVE( ) Function

Returns the drive letter from a complete path.

JUSTDRIVE(cPath)

Return Values

Character

Parameters

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

See Also

ADDBS( ) | DEFAULTEXT( ) | FILE( ) | FORCEEXT( ) | FORCEPATH( ) | JUSTEXT( ) | JUSTFNAME( ) | JUSTPATH( ) | JUSTSTEM( )