# Read a variable from notepad

**URL:** <https://forum.uipath.com/t/read-a-variable-from-notepad/51764>\
**Category:** Help\
**Tags:** system, activities\
**Created:** [July 11, 2018, 5:49pm UTC](https://forum.uipath.com/t/read-a-variable-from-notepad/51764 "2018-07-11T17:49:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jhunior](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@Jhunior](https://forum.uipath.com/u/Jhunior)\
**Post date:** [July 11, 2018, 5:49pm UTC](https://forum.uipath.com/t/read-a-variable-from-notepad/51764/1 "2018-07-11T17:49:47Z")

</div>

Hello, you can write a text accompanied by a variable in notepad, and when the UiPath reads the notepad with the activity “read text file” that variable is changed to the designated value. :pensando:

Example:

 ![duda](https://global.discourse-cdn.com/uipath/original/3X/7/3/737b0fc8759480ec940cfa7c958415639f2da2d4.png)

---

<div class="post-metadata">

**Author:** ![Niket\_Ghai](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/niket_ghai/32/21990_2.png) [@Niket\_Ghai](https://forum.uipath.com/u/Niket_Ghai)\
**Post date:** [July 11, 2018, 5:54pm UTC](https://forum.uipath.com/t/read-a-variable-from-notepad/51764/2 "2018-07-11T17:54:36Z")

</div>

Could you please share your workflow? Or maybe post the screenshot of type into activity  
also see if you have written “Hello”+variable1 in the type into!

---

<div class="post-metadata">

**Author:** ![Rishabh\_Lakhera](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/rishabh_lakhera/32/21805_2.png) [@Rishabh\_Lakhera](https://forum.uipath.com/u/Rishabh_Lakhera)\
**Post date:** [July 11, 2018, 5:57pm UTC](https://forum.uipath.com/t/read-a-variable-from-notepad/51764/3 "2018-07-11T17:57:48Z")

</div>

Hey @Jhunior

I hope you have written the text correctly as **“Hello” + variable1** and not **“Hello variable1”**!

---

<div class="post-metadata">

**Author:** ![dineshary](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dineshary/32/28743_2.png) [@dineshary](https://forum.uipath.com/u/dineshary)\
**Post date:** [July 11, 2018, 6:06pm UTC](https://forum.uipath.com/t/read-a-variable-from-notepad/51764/4 "2018-07-11T18:06:38Z")

</div>

As @Rishabh_Lakhera mentioned, use “Hello ” + variable1

---

<div class="post-metadata">

**Author:** ![Jhunior](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@Jhunior](https://forum.uipath.com/u/Jhunior)\
**Post date:** [July 11, 2018, 6:50pm UTC](https://forum.uipath.com/t/read-a-variable-from-notepad/51764/5 "2018-07-11T18:50:34Z")

</div>

ok I will review, thanks for your reply 🙂 🙂
