Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
-
Function CurDir(Optional Drive As Variant) As Variant Function CurDir$(Optional Drive As Variant) As String
|
Parameter |
Description |
|---|---|
|
Drive |
Optional String data value that identifiers an storage drive in an implementation defined manner. |
Runtime Semantics.
§ The valid format of a Drive String is implementation defined.
§ If Drive is unspecified, or if Drive is a zero-length string, CurDir returns the current file path for the implementation-defined current drive as a String data value. If Drive validly identifies a storage drive, the current file path for that drive is returned a String data value.
§ If the value of Drive is not a valid drive identifier, Error 68 ("Device Unavailable") is raised.