# Change "File Path" Node so it suits any user

**URL:** <https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982>\
**Category:** Uncategorized\
**Created:** [August 14, 2017, 3:48pm UTC](https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982 "2017-08-14T15:48:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darkitect](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/darkitect/32/30970_2.png) [@Darkitect](https://forum.dynamobim.com/u/Darkitect)\
**Post date:** [August 14, 2017, 3:48pm UTC](https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982/1 "2017-08-14T15:48:55Z")

</div>

I’ve successfully created a script that exports multiple schedules to multiple tabs in Excel.

The option to choose the name of the exported excel file and where it is to be saved is via the “File Path” node.

When I use this node and point it to my desktop, the node reads “C:\Users\smithj\Desktop\test12345”. Now when I put this script in a server folder so anyone in my office can link to it with Dynamo Player. The script will be trying to save the excel file to their desktop but using my name and it won’t work.

So as this script was written specifically for a project, I changed the file path to a project folder located on our Network. server. Lets call this server “F”. When I was done, the script ran but no excel file appeared in the folder. I double checked and retried but it still didn’t work.

When I check the File Name Node, what was written in it was “C:…\Links\Cobie Excel Export\_Import Files\test1234”. It had changed the F network location to C.

Can anyone assist please?

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [August 14, 2017, 4:10pm UTC](https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982/2 "2017-08-14T16:10:53Z")

</div>

If you’re using the standard File Path node it should keep the correct path.  
You could use Data-Shapes to allow the user to select the File Path.

---

<div class="post-metadata">

**Author:** ![nainoorpatel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nainoorpatel/32/33085_2.png) [@nainoorpatel](https://forum.dynamobim.com/u/nainoorpatel)\
**Post date:** [August 14, 2017, 4:28pm UTC](https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982/4 "2017-08-14T16:28:36Z")

</div>

I see that you are trying to export and import excel files through different systems. Dynamo does not have the functionality to automatically detect the location in a new system. I suggest that you may make a custom node where you shall make the file.path as a string node and let it access the User name itself. Hope, I have helped you.

---

<div class="post-metadata">

**Author:** ![Darkitect](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/darkitect/32/30970_2.png) [@Darkitect](https://forum.dynamobim.com/u/Darkitect)\
**Post date:** [August 15, 2017, 7:38am UTC](https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982/5 "2017-08-15T07:38:46Z")

</div>

Thankyou for your response, I downloaded and installed the Data Shapes package. I assumed the UI.FilePath Data node from the data shapes package is the correct one to use to allow the user to select the File Path. I am however unsure what nodes if any need to be connected to it.

I have of course wired the “UI.FilePath Data” “FilePath Input” node to the “Write Excel” “Filepath” node. Are other nodes needed to connect to the other side of the “UI.FilePath Data” node?

Image attached

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/3/735f89d4ede8c0adc5f512842900ffbcdd8e47e2.png)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [August 15, 2017, 2:10pm UTC](https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982/6 "2017-08-15T14:10:13Z")

</div>

Yes. The UI Multiple Input Form ++ node is missing. See the datashapes webpage for info.

> **[data|shapes](https://data-shapes.io/)**
>
> @datashapes\_io

---

<div class="post-metadata">

**Author:** ![AdamHamilton](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@AdamHamilton](https://forum.dynamobim.com/u/AdamHamilton)\
**Post date:** [August 15, 2017, 2:36pm UTC](https://forum.dynamobim.com/t/change-file-path-node-so-it-suits-any-user/13982/7 "2017-08-15T14:36:00Z")

</div>

What Jacob said. the UI Multiple Input Form ++ is the node that creates the Dialogue box. the Dialogue will feed the input to the Write Excel Command

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/7/b7c8548509958c6a3ff85ec7a930ee0bd3603657.png)
