# Start TOAD with "Workspace" as a command line option

**URL:** <https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [April 24, 2023, 4:56pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418 "2023-04-24T16:56:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![markus\_031](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/markus_031/32/36_2.png) [@markus\_031](https://forums.toadworld.com/u/markus_031)\
**Post date:** [April 24, 2023, 4:56pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/1 "2023-04-24T16:56:44Z")

</div>

I wonder if it is possible to specify a workspace as a command line parameter when starting TOAD. I often work on projects for different clients at the same time. Switching between workspaces is very slow, especially if you have multiple editor windows open in the workspaces. Therefore, I would rather start multiple instances of TOAD and specify a workspace at startup, which is then loaded immediately.

I experimented a bit with the /VIRTUAL parameter. But that didn't help either, because

1. the instances work with their own parameter settings and
2. the last active workspace is not loaded at startup, because the setting "Automatically save and restore workspace" only works when TOAD is started without command line parameters.

I also could not find out if or how this would work with the "-a" command line parameter

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [April 24, 2023, 4:59pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/2 "2023-04-24T16:59:40Z")

</div>

There's no way to do that now, but it's a good idea. I've logged it as an enhancement request

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [April 26, 2023, 7:08pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/3 "2023-04-26T19:08:32Z")

</div>

This will be in the next beta. You can do

`Toad.exe -Workspace Test`

or, if the workspace name has spaces:

`Toad.exe -Workspace "A B C"`

(edited)

---

<div class="post-metadata">

**Author:** ![markus\_031](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/markus_031/32/36_2.png) [@markus\_031](https://forums.toadworld.com/u/markus_031)\
**Post date:** [April 27, 2023, 8:36am UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/4 "2023-04-27T08:36:57Z")

</div>

Great! Then I'm already looking forward to the next beta. 👍

---

<div class="post-metadata">

**Author:** ![remco.goris\_296](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@remco.goris\_296](https://forums.toadworld.com/u/remco.goris_296)\
**Post date:** [September 2, 2023, 11:03am UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/5 "2023-09-02T11:03:52Z")

</div>

That would be a really nice enhancement! Will this be available in every Toad variety? I'm on Toad for Oracle 16.3.231.2085.

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [September 2, 2023, 10:25pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/6 "2023-09-02T22:25:34Z")

</div>

It will be in all versions of Toad for Oracle, starting with 17.0

---

<div class="post-metadata">

**Author:** ![remco.goris](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@remco.goris](https://forums.toadworld.com/u/remco.goris)\
**Post date:** [November 22, 2023, 11:17am UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/8 "2023-11-22T11:17:05Z")

</div>

I have tried

> toad.exe "workspace=naw-conversie"

Sadly, the result is that Toad starts, and shows me the login dialog window with the connections I defined, but the workspace is not loaded. (Regardless of whether I connect to a database or not.)

I am using Toad 17.0.341.1977.

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [November 22, 2023, 1:24pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/9 "2023-11-22T13:24:51Z")

</div>

Sorry, the syntax above (which I just edited) was inconsistent with the way other command line options are specified. So I changed it after my initial post here.

The correct syntax is:

`Toad.exe -Workspace Test`

or, if the workspace name has spaces:

`Toad.exe -Workspace "A B C"`

Note: Workspace name is case sensitive.

---

<div class="post-metadata">

**Author:** ![remco.goris](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@remco.goris](https://forums.toadworld.com/u/remco.goris)\
**Post date:** [November 22, 2023, 1:42pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/10 "2023-11-22T13:42:22Z")

</div>

Thank you! That _does_ work!

---

<div class="post-metadata">

**Author:** ![dirk.mika1](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/dirk.mika1/32/16503_2.png) [@dirk.mika1](https://forums.toadworld.com/u/dirk.mika1)\
**Post date:** [November 23, 2023, 1:52pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/11 "2023-11-23T13:52:45Z")

</div>

One question in this context:  
Are the command line options documented anywhere?

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [November 27, 2023, 12:59pm UTC](https://forums.toadworld.com/t/start-toad-with-workspace-as-a-command-line-option/57418/12 "2023-11-27T12:59:13Z")

</div>

Hi Dirk.

Yes. Main menu -\> Help -\> Contents.  
Click on the "Index" tab and type in "Command line"
