Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Home Page (Objects) | Overview | FAQ | Reference
Applies to: Application object
Gets or sets the directory used by the Open command on the File menu.
Syntax
object**.CurrentDirectory** [=string]
Parameters
object
An expression that evaluates to an Application object. When you access the CurrentDirectory property of the Application object, you can omit object because the name of the Application object is implied when you access its properties and methods.
string
A String that sets the directory.
Remarks
The CurrentDirectory property has the String type.
The directory name retrieved does not have a trailing backslash.
Example
The following example sets the current directory to C:\Msdev98:
Application.CurrentDirectory = "C:\MSDEV98"