Returns the current path of a given drive (String).

drive(Optional) The existing drive (String).

* If "drive" = "", then the current drive is returned.
* If "drive" is left blank, then the current drive is returned.
* You can use the CURDIR$ function to return a String data type instead of a Variant/String data type.
* The equivalent .NET function is Microsoft.VisualBasic.FileSystem.CurDir
* For the Microsoft documentation refer to

Dim sDirectory As String 
sDirectory = CurDir("E")
sDirectory = CurDir()

© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited Top