FileDialog.GetInitialDirectory
------------------------------

Queries the initial directory.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FileDialog](component_FileDialog.md) | [2.7](newinversion27.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "FileDialog.GetInitialDirectory" ) ### Parameters

none

### Result

Returns path for initial directory.

### Description

Queries the initial directory.  
Use [Path.NativePathToFileMakerPath](PathNativePathToFileMakerPath.md) to convert to a FileMaker path if required.  
### See also

- [FileDialog.SetInitialDirectory](FileDialogSetInitialDirectory.md)
- [Path.NativePathToFileMakerPath](PathNativePathToFileMakerPath.md)

This function is free to use.

Created 18th August 2014 , last changed 29th April 2016

  
[FileDialog.GetFilter](FileDialogGetFilter.md) - [FileDialog.GetMessage](FileDialogGetMessage.md)

[HTML Version](FileDialogGetInitialDirectory.shtml)