_Global.ChangeFileOpenDirectory(String) _Global.ChangeFileOpenDirectory(String) _Global.ChangeFileOpenDirectory(String) Method

Definition

Sets the folder in which Microsoft Word searches for documents.

public:
 void ChangeFileOpenDirectory(System::String ^ Path);
public void ChangeFileOpenDirectory (string Path);
Public Sub ChangeFileOpenDirectory (Path As String)
Parameters
Path
String String String

Required String. The path to the folder in which Word searches for documents.

Remarks

The specified folder's contents are listed the next time the Open dialog box (File menu) is displayed.

Word searches the specified folder for documents until the user changes the folder in the Open dialog box or the current Word session ends. Use the DefaultFilePath[WdDefaultFilePath] property to change the default folder for documents in every Word session.

Applies to