Sort file and store attributes

Please try this:

folder_path = “D:\TestExcel”
dir_info = new DirectoryInfo(folder_path)

dir_info.GetFiles().OrderBy(Function(x) x.CreationTime)

*Note- if you wants to sort on the basis of latest to old by replacing “OrderBy” to" OrderByDescending".

I have attached 2 workflow named as follows:

  1. Sort_Dir_files_Creation_time.xaml //For to sort files on the basis of dates cretion from last to new
  2. textdatahandling.xaml // For to Handle your text file data.

Yes it is possible to send an email by using “Sent outlook mail” or “Send Smtp mail” or “Send exchange mail” activities.

You are not able to see those activities because you have not installed “UiPath.Mail.Activities” package.first install it then after restart check it.

and if you do not know how to install packages then please search previous post on forum :slight_smile:

For further assistance please review this attached workflow and let me know :slight_smile:

Sort_Files_and_attributes.zip (4.9 KB)

Regards…!!
Aksh

2 Likes