<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Le 09/09/2025 à 11꞉23, Bo Berglund via
      fpc-pascal a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:ebqvbktbvkobn9rsi6u97j08jligsfvlov@4ax.com">
      <pre class="moz-quote-pre" wrap="">On Windows 10 this shows the *file content* of the directory in the right hand
pane and the directory tree view to the left selects the directory of that file
and shows the other video sub-directories in there.

This makes it very easy to navigate from one video dir to another.

But now after upgrading my PC to Windows 11 the dialog no longer focuses the
tree view to the left on the dir where the video file last  used is located.

Instead the dir pane has the focus set to "Desktop" of all things, when at the
same time the files pane shows the content of my video dir on a different device
(my NAS) as it should!!!!
So the navigation becomes rather awkward and non-intuitive..
</pre>
    </blockquote>
    I believe this comes from a setting in File Explorer:<br>
    <br>
    Display Tab, Options<br>
    In the dialog, inside yet another Display tab, there is a list where
    you see a "navigation pane" category<br>
    Inside that category there is something along the lines of "Develop
    to opened folder" (translated from my OS language)<br>
    <br>
    It's not checked by default, and I believe Windows 11 resets
    anything set in here that you would have changed in Windows 10.<br>
    <br>
    As to doing this by code, I'm not sure this is possible.<br>
    <br>
    Hope this helps<br>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
      0px; height: 0px;"></div>
  </body>
</html>