Hi,
There are 1000 PDFs in my folder, I have 1000 names in the CSV file as well. I want to rename these PDFs with the 1000 names from CSV file. Can anyone help me in doing this.
Thanks,
Karthik
Hi,
There are 1000 PDFs in my folder, I have 1000 names in the CSV file as well. I want to rename these PDFs with the 1000 names from CSV file. Can anyone help me in doing this.
Thanks,
Karthik
@karthik_venkat, Move File even does the work of renaming the files. You can use it to achieve.
Regards,
Dominic
Hi Karthik,
You can follow these steps,
1.Use read range to read the files names in CSV file and put into datatable.
Use for-each-row(say row) activity to read each pdf file names from each row of datatable.
In side for each, put “Move File activity, and give file name like “C:\Documents"+row.toString+”.pdf”.
Let me know if it worked or not.
Thanks Dominic and Akshay. Will work on it and tell you.