From the course: UiPath: Robotic Process Automation (RPA)

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Open and read a text file

Open and read a text file

- [Instructor] Let's get a little more sophisticated and learn how to open and read a text file. So again I can jump into my Activities window here and I can type the word read text, and you see we've got under Available, System, File: Read Text File. If I drag this on here what I can do is I can pull this down and I can grab this guy and I can drag it on top of this and notice that that's going to light up those connectors and when I do that it's going to insert this into this flow. So that's a quick and easy way to change your work flow. Now again it's telling me FileName was not supplied. So I'm clicking on that activity. You can see here's our FileName attribute and it says the path of the file to be read. When you hover over that you can see that it's expecting a String value. So if you click on this three buttons here, you can supply that path or just simply type it right here. I'll open my double quotes, I'll say C:/openme.txt So let's go create that file. I've got my C-drive…

Contents