# File Writes in DAI

**URL:** <https://forums.eggplantsoftware.com/t/file-writes-in-dai/14433>\
**Category:** Eggplant DAI\
**Created:** [May 13, 2025, 6:08pm UTC](https://forums.eggplantsoftware.com/t/file-writes-in-dai/14433 "2025-05-13T18:08:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/b/ac91a4/32.png) [@Bill](https://forums.eggplantsoftware.com/u/Bill)\
**Post date:** [May 13, 2025, 6:08pm UTC](https://forums.eggplantsoftware.com/t/file-writes-in-dai/14433/1 "2025-05-13T18:08:41Z")

</div>

Hello,

What path (by default) does DAI write to when saving movies or screen captures where a path has not been included in the code? To me, it appears as if it tries to write to the machine where I have functional installed.

I use a separate logon for my SUT so I would expect it to write to SUTUsername\Users\Documents but it seems to still want to write to the location where functional is installed. Even if I explicitly try to include the path for my SUT, I get an error saying something to the effect of location doesn’t exist. I have permissions in that path and I am assuming if it were a permissions issue that I would receive a different error message.

Is there a support document that outlines this process?

Thanks

---

<div class="post-metadata">

**Author:** ![scsvel](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/scsvel/32/316_2.png) [@scsvel](https://forums.eggplantsoftware.com/u/scsvel)\
**Post date:** [May 13, 2025, 7:47pm UTC](https://forums.eggplantsoftware.com/t/file-writes-in-dai/14433/2 "2025-05-13T19:47:23Z")

</div>

DAI always considers the machine where the corresponding run agent is running.

You can always use the temp or special folders to write something:

> **[File and Folder References | EPF Docs](https://docs.eggplantsoftware.com/studio/stk-file-folder-references/#specialfolderpath-function)**
>
> SenseTalk provides several methods for working with files and file systems. You can use the commands and functions described here to access files and file system information, to determine or change your working directory, and other details about...

---

<div class="post-metadata">

**Author:** ![normanp123chase](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/n/c67d28/32.png) [@normanp123chase](https://forums.eggplantsoftware.com/u/normanp123chase)\
**Post date:** [September 22, 2026, 11:59am UTC](https://forums.eggplantsoftware.com/t/file-writes-in-dai/14433/7 "2026-09-22T11:59:14Z")

</div>

DAI typically saves captures to the Functional Agent’s local execution host by default. Ensure the target path exists on the Agent machine itself, as relative SUT paths won’t resolve.

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [September 22, 2026, 12:49pm UTC](https://forums.eggplantsoftware.com/t/file-writes-in-dai/14433/8 "2026-09-22T12:49:49Z")

</div>

Please reference the following with regards to `StartMovie` within DAI.

> **[DAI Windows Installation FAQs | DAI](https://docs.eggplantsoftware.com/dai/dai-windows-faqs/)**
>
> \- When installing Eggplant DAI on a Windows machine, why do I get the following error message?
