get path to selected file
there is the "getSavePath" in Max, that lets you browse to a folder and will return that path, so it can be used to save or open files in that folder. I would like to have the same thing, but not for folders but files. So that a dialog appears and the user can pick e.g. a material library file. The path to that file would than be returned and could be used to open and edit that material library afterwards. The "getOpenFileName" command shows what I want to do, but it only works for saving Max files.
So how can I browse to a file and get that path?