DosFileLookup in Directory mode does not select Default Directory

Are you sure its not working?

The reason I ask is because the Select Folder is a very different dialog that below the Tree just shows the Child directory name not the full path. In my example code below the Folder entry just shows “Win” not the full path. And it does not even scroll the tree down to “Win” it starts at the top.

Suggest you add code like mine to test by showing the selected directory then just press enter when it opens and it should show your default, mine did. I’m using 11.1.13815 on Windows 10

       SETPATH('D:\Clarion11\LibSrc\Win')
       IF FILEDIALOG('test', fn2", , FILE:Directory + FILE:LongName ) THEN 
          Message('fn2"=' & Fn2" )
       END

image