For each file in directory, get path, file name and create date

Hi,

I’ve tried to come up with a solution to create a datatable that has three columns which show;

  • File Name
  • File Path
  • Create date
    but feel that I’ve hit a wall. Anyone that could help me with a smart solution for this?

Hi,

Hope the following helps you.

We can create these items using System.IO.FileInfo class.

Regards,

1 Like

Not working for me. do you have an example of the above suggestion? Which kind of variable for Fileinfo and newrow?

Thanks

please open a new topic and get individual help for your case

Also have a look here:
[CheatSheet] - Filesystem APIs - News / Tutorials - UiPath Community Forum