# Re-Open Previous Files on Startup

**URL:** <https://forums.toadworld.com/t/re-open-previous-files-on-startup/7900>\
**Category:** Toad for IBM DB2\
**Created:** [March 26, 2011, 2:05pm UTC](https://forums.toadworld.com/t/re-open-previous-files-on-startup/7900 "2011-03-26T14:05:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sullivan](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Sullivan](https://forums.toadworld.com/u/Sullivan)\
**Post date:** [March 26, 2011, 2:05pm UTC](https://forums.toadworld.com/t/re-open-previous-files-on-startup/7900/1 "2011-03-26T14:05:24Z")

</div>

When I start Toad can I have the files from the previous session opened automatically?

---

<div class="post-metadata">

**Author:** ![Jeff\_Podlasek](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jeff_podlasek/32/29_2.png) [@Jeff\_Podlasek](https://forums.toadworld.com/u/Jeff_Podlasek)\
**Post date:** [March 28, 2011, 4:21pm UTC](https://forums.toadworld.com/t/re-open-previous-files-on-startup/7900/2 "2011-03-28T16:21:49Z")

</div>

There is no current way to automatically open the previously open files.  
However you can either use the Files | Recent Files to open those,  
OR  
You can also open the directory containing those files in Toad, then select the files you want to open and quickly drag those to the top toolbar. A separate SQL Editor session will be opened for each file. See the attached screenshot for more information.

 ![ToadDragScripts.png](https://global.discourse-cdn.com/quest/original/2X/9/9b7094085f8a7bcffe1028202022afb4175fd455.png)

---

<div class="post-metadata">

**Author:** ![Sullivan](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Sullivan](https://forums.toadworld.com/u/Sullivan)\
**Post date:** [March 29, 2011, 5:28pm UTC](https://forums.toadworld.com/t/re-open-previous-files-on-startup/7900/3 "2011-03-29T17:28:44Z")

</div>

Can I request this as an enhancement? Toad hangs or crashes many times a day which requires restarts. Having the files I was working on open again without me having re-open all of them individually would be very helpful.

---

<div class="post-metadata">

**Author:** ![Jeff\_Podlasek](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jeff_podlasek/32/29_2.png) [@Jeff\_Podlasek](https://forums.toadworld.com/u/Jeff_Podlasek)\
**Post date:** [March 30, 2011, 11:17am UTC](https://forums.toadworld.com/t/re-open-previous-files-on-startup/7900/4 "2011-03-30T11:17:41Z")

</div>

I just realized that we might already have what you are asking about.  
If you go to Tools | Options | Environment | Desktops and then ensure that the 'Open Documents' checkbox is checked (as shown in the attached file), Toad will open the documents that were last opened when you last exited Toad.  
Please see attached for details and let me know if that is what you were requesting.  
Thanks

 ![ToadDesktop.png](https://global.discourse-cdn.com/quest/original/2X/3/385b84326550147442ae23e669281c4fe2ddcff0.png)

---

<div class="post-metadata">

**Author:** ![Sullivan](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@Sullivan](https://forums.toadworld.com/u/Sullivan)\
**Post date:** [April 11, 2011, 9:50am UTC](https://forums.toadworld.com/t/re-open-previous-files-on-startup/7900/5 "2011-04-11T09:50:53Z")

</div>

Thanks Jeff, that is what I’m looking for.

It works most of the time. If there are multiple connections, sometimes some of the connections are not re-opened, and sometimes some of the documents are re-opened and associated with the wrong connections.
