Gets the initial directory displayed by the file dialog box.
Returns
The initial directory displayed by the file dialog box. The default is an empty string ("").
Remarks
The InitialDirectory property is typically set using one of the following sources:
A path that was previously used in the program, perhaps retained from the last directory or file operation.
A path read from a persistent source, such as an application setting, a Registry or a string resource in the application.
Standard Windows, macOs or linux system and user paths, such as Program Files, MyDocuments, MyMusic, and so on (which you can obtain using the xtd::environment::get_folder_path method)
A path related to the current application, such as its startup directory (which you can obtain using properties on the xtd::forms::application object).