Options.DefaultFilePath property

Returns or sets default folders for items such as documents, templates, and graphics.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

string this[
	WdDefaultFilePath Path
] { get; set; }


Type: Microsoft.Office.Interop.Word.WdDefaultFilePath

Required WdDefaultFilePath. The default folder to set.

Property value

Type: System.String

The new setting takes effect immediately.

You can use an empty string ("") to remove the setting from the Windows registry.