Hi all, new to the forum, i need to open a file dialog to select an image, but the popup FileDialog Godot provides I feel is very hard to use for that. How can I open a Windows file dialog, or any OS file dialog for that matter?

Sorry for answering late, I dont understand how shell open can help me. What is the path for opening the file dialog using the function, and how can I retreive the path the user went to?

You can use the shell open function to open a Windows File Explorer tab at the given file location, as mentioned in the documentation:

OS.shell_open("C:\\Users\name\Downloads") on Windows opens the file explorer at the user's Downloads folder.

I don't want to open the file explorer, but the file dialog, which allows the user to select a file.

File dialog and file explorer respectively, for reference:

He's stating that he wants to use Windows' file picker; not the one that Godot provides.

You do have a view workarounds though. Use a C# library Use a C++ library via Gdnative Use a Python library Use a batch file

There is an advantage to using the built in one, in case you end up going cross platform you then have one unified way of dealing with it for all systems, keeping your code simpler.

2 years later