Extract info from website and write it into a notepad

Hi all, I extract info from a part of website using data scraping and save it as a database. How can I write and save the database into notepad?

By using write text file you can save that data into notepad

Thank you! I’m using write text file but I’m confused about the input FileName. So should I save a notepad file, copy the directory path and use the path for write text file?

And the sequence would be like this
Once after datatable is ready
Use OUTPUT DATATABLE activity and pass the above datatable as input and get the output as a string variable
—now use WRITE TEXT FILE activity and mention the string variable as input and the file path of the txt file

Hope this would help you
Cheers @Duong

1 Like

Thank you very much! How can I find the directory path of a notepad file?

With this expression
arr_filepath = Directory.GetFiles(“yourfolderpath”,”*.txt”)

Where arr_filepath is a variable of type array of string
Which will have the filepath of all notepad file in that specified folder

Cheers @Duong

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.