Setting default directory in SystemDialogInput[] under Windows 7 ?

Hi Everyone,

Well the question is almost in the title… I am building an interactive NoteBook with user access to local files that I want to store in the local directory defined by NoteBookDirectory[],

The SystemDialogInput["FileOpen"] works well but I could not find a way to put an init value for the path the SystemDialogInputs opens in. Actually I want to force it to NotebookDirectory[]…

I suppose it is highly system dependent, so it is not easy to find it in the tutorial/CreatingDialogBoxes.

Thanks for your help

Christian Néel

The optional 2nd argument. This is in Win 7 x64.for a default of c:\temp.

SystemDialogInput["FileOpen", "c:\\temp"]

And this for NotebookDirectory

SystemDialogInput["FileOpen", NotebookDirectory[]]

Thank you very much David! It works very well.

Christian