{currenthelptext} {product} {helptype} {viewcore}
CurDir (drive)
Returns the current path for the specified drive
CurDir returns a Variant; CurDir$ returns a String.
More:
Example - CurDir Function