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