How to read and write file name with current date

Hello,
I am trying to automate a process where i get a file in the email with the filename " xyz 28.02.2018". I save this file in a folder which has files with the same name but a prior days date “xyz 27.02.2018”, “xyz 26.02.2018”. I run this process everyday so i want to read the latest file. How do i do this. And after finishing the automation I want to save it with the same date.

@jamnanin, Following are the solved links similar to your requirement, kindly refer it and try from your end. Post back if you face any issues.

  1. How do I get the lastest file in the folder - #2 by vvaidya
  2. Open file in directory - #2 by Dominic
  3. Recent files in directory - #2 by arivu96

Regards,
Dom :slight_smile: