# Prevent new folder tabs from opening when launched by external program

**URL:** <https://resource.dopus.com/t/prevent-new-folder-tabs-from-opening-when-launched-by-external-program/27025>\
**Category:** Help & Support\
**Created:** [October 4, 2017, 3:20am UTC](https://resource.dopus.com/t/prevent-new-folder-tabs-from-opening-when-launched-by-external-program/27025 "2017-10-04T03:20:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SomeYoungGuy](https://resource.dopus.com/user_avatar/resource.dopus.com/someyoungguy/32/68846_2.png) [@SomeYoungGuy](https://resource.dopus.com/u/SomeYoungGuy)\
**Post date:** [October 4, 2017, 3:20am UTC](https://resource.dopus.com/t/prevent-new-folder-tabs-from-opening-when-launched-by-external-program/27025/1 "2017-10-04T03:20:58Z")

</div>

I have Directory Opus set to always display a tab, even if only one folder is open. If I click on another folder, the tab changes to reflect the new folder name, without opening a new tab. This is the behavior I want.

However, I use a clipboard manager program called [**CLCL**](http://www.nakka.com/soft/clcl/index_eng.html) which has a " **launcher**" feature that lets me create context menu entries which can run programs, open web pages, or even launch a Lister in a specified folder. The context menu looks like this:

 ![CLCL ''G1'' hotkey](https://resource.dopus.com/uploads/default/original/3X/8/7/87c3e7a7b9bdde2558d1d9af20cb61d60ed5a600.jpg)

If I have a Lister currently open in a folder named **D:\CLCL** , then activate **CLCL** (via a hotkey), then click on one of the context menu entries, for example, the **D:\Directory Opus** entry, a new tab is opened next to the **D:\CLCL** tab. Is there a command which will allow **CLCL** to make the **_currently opened Lister_** go to the specified folder without creating a new tab? Basically, I never want more than one tab to be opened at any time. Thank you for any advice you can give. I looked through the Help file but can't seem to find the proper commands that will only allow one tab to be open at a time.

---

<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:** [October 4, 2017, 4:54am UTC](https://resource.dopus.com/t/prevent-new-folder-tabs-from-opening-when-launched-by-external-program/27025/2 "2017-10-04T04:54:53Z")

</div>

You can use a command like this to go to the _D:\Directory Opus_ folder in the last active window, without opening a new window or tab (unless no windows at all are open):

```nohighlight
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /acmd Go "D:\Directory Opus"
```
