Returns a Variant (String) representing the current path.
Syntax
CurDir[(drive)]
The optional drive argument is a string expression that specifies an existing drive. If no drive is specified or if drive is a zero-length string ("", CurDir returns the path for the current drive.
Path
This property returns and sets the current path.
Syntax
object.Path [= pathname]
Parameters
object
Object expression that evaluates to an App object.
pathname
String expression that evaluates to a path name.
Remarks
The Path property is unavailable at design time. For the App object, the Path property is read-only at run time.
The value of Path is a string that indicates a path.
App Object
The App object is a global object accessed with the App keyword. It determines or specifies information about the application's title, version information, the path and name of its executable file and Help files, and whether or not a previous instance of the application is running.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.