# splays to directory

**URL:** <https://forum.kx.com/t/splays-to-directory/7178>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [June 8, 2011, 9:35pm UTC](https://forum.kx.com/t/splays-to-directory/7178 "2011-06-08T21:35:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pravin1](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@Pravin1](https://forum.kx.com/u/Pravin1)\
**Post date:** [June 8, 2011, 9:35pm UTC](https://forum.kx.com/t/splays-to-directory/7178/1 "2011-06-08T21:35:00Z")

</div>

Hi All,When i try to save(splay) data to disk and load it back in separatesession, its not working for me. Could someone please help me?q) n:10000000; /increase n to increase the table sizeq) t:(id:til n; c1:n?1000j; c2:n?1000j; c3:n?1000j; c4:n?1000j); /generate the test table tq) `:d:/qdata/t/ set t; / \*\*\*\*\*\*\* this is not working for me\*\*\*\*\*\*Also please let me know how i can load this data again in a separatesession to update it and save back in discThanks in Advance,

---

<div class="post-metadata">

**Author:** ![Aaron\_Davies](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Aaron\_Davies](https://forum.kx.com/u/Aaron_Davies)\
**Post date:** [June 8, 2011, 9:45pm UTC](https://forum.kx.com/t/splays-to-directory/7178/2 "2011-06-08T21:45:00Z")

</div>

\> q) ?`:d:/qdata/t/ set t; ? / \*\*\*\*\*\*\* this is not working for me\*\*\*\*\*\*what happens?

---

<div class="post-metadata">

**Author:** ![\_Oz](https://avatars.discourse-cdn.com/v4/letter/_/f07891/32.png) [@\_Oz](https://forum.kx.com/u/_Oz)\
**Post date:** [June 8, 2011, 10:00pm UTC](https://forum.kx.com/t/splays-to-directory/7178/3 "2011-06-08T22:00:00Z")

</div>

Hi, Pravin!Are you sure you1. Running it against local (or at least windows) instance2. have writable d: drive there :)Works like a charm, but will try to write to the box instance isrunning on, of course.To load in another instanceq) t:get `:d:/qdata/t/q) tOn Jun 9, 12:35?am, Pravin <pravin198...> wrote:&gt; Hi All,&gt;&gt; When i try to save(splay) data ?to disk and load it back in separate&gt; session, its not working for me. Could someone please help me?&gt;&gt; q) ?n:10000000; ? /increase n to increase the table size&gt; q) ?t:([]id:til n; c1:n?1000j; c2:n?1000j; c3:n?1000j; c4:n?&gt; 1000j); ?/&gt; generate the test table t&gt; q) ?`:d:/qdata/t/ set t; ? / \ ***this is not working for me** \>\> Also please let me know how i can load this data again in a separate\> session to update it and save back in disc\>\> Thanks in Advance,\</pravin198…\>
