# Feature Request: Switch to expand the directory in dlgfolder

**URL:** <https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585>\
**Category:** Help & Support\
**Created:** [July 23, 2012, 12:53am UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585 "2012-07-23T00:53:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julianon](https://resource.dopus.com/user_avatar/resource.dopus.com/julianon/32/25802_2.png) [@Julianon](https://resource.dopus.com/u/Julianon)\
**Post date:** [July 23, 2012, 12:53am UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585/1 "2012-07-23T00:53:48Z")

</div>

The directory display opened by {dlgfolder||D:\MyDIrectory} does not expand D:\MyDirectory to display its subforlders. I'm sure that there are good reasons for this, but it means that the subsequent selection of a subfolder of D:\MyDirectory requires an extra mouseclick before one can see where one is going.

Could a switch, or some other option, be added to dlgfolder so that the subdirectories of the specified directory are displayed?

I tried using D:\MyDIrectory\ and D:\MyDIrectory\* and D:\MyDIrectory\*.\* but they didn't change the result. I may well be missing something in the command.

Workaround: Use {dlgfolder||D:\MyDIrectory\FolderA} to open D:\MyDirectory at its first subdirectory, but this is clumsy when the subdirectories are often changing.

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [August 20, 2012, 4:09am UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585/2 "2012-08-20T04:09:41Z")

</div>

Thanks for the suggestion!

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [August 22, 2012, 7:03am UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585/3 "2012-08-22T07:03:47Z")

</div>

In the next update you'll be able to use things like: {dlgfolder||D:\MyDIrectory|expand}

---

<div class="post-metadata">

**Author:** ![Julianon](https://resource.dopus.com/user_avatar/resource.dopus.com/julianon/32/25802_2.png) [@Julianon](https://resource.dopus.com/u/Julianon)\
**Post date:** [August 23, 2012, 12:37am UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585/4 "2012-08-23T00:37:39Z")

</div>

Thanks for that, Jon and Leo. It will make things just that bit simpler.

---

<div class="post-metadata">

**Author:** ![Julianon](https://resource.dopus.com/user_avatar/resource.dopus.com/julianon/32/25802_2.png) [@Julianon](https://resource.dopus.com/u/Julianon)\
**Post date:** [September 4, 2013, 8:16am UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585/5 "2013-09-04T08:16:23Z")

</div>

A further small request concerning opening a folder from the dlgfolder display. When using the keyboard without the mouse, there is no problem --- select the required directory with the arrow keys, then press the "Enter" key to open it.

When using the mouse without the keyboard, however, it's a bit clumsier --- select the required directory with single clicks (double clicks expand the directory), then climb all the way down to the bottom to press the "OK" key. Could I suggest:

- One click: Selects the directory and expands it as well.
- Two clicks: Opens the directory.  
That would be kinder to the mouse-hand and mouse-arm.

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [September 4, 2013, 8:42am UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585/6 "2013-09-04T08:42:31Z")

</div>

I think that would result in accidents where people double-click folders expecting them to expand (as is standard in tree controls) and instead select them and send them to a command (potentially catastrophically).

---

<div class="post-metadata">

**Author:** ![Julianon](https://resource.dopus.com/user_avatar/resource.dopus.com/julianon/32/25802_2.png) [@Julianon](https://resource.dopus.com/u/Julianon)\
**Post date:** [September 4, 2013, 12:36pm UTC](https://resource.dopus.com/t/feature-request-switch-to-expand-the-directory-in-dlgfolder/13585/7 "2013-09-04T12:36:04Z")

</div>

Understood. Would a right-click menu on a folder be the right solution? (I usually use the keyboard, so it is seldom a problem.)
