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


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?


Hope the following helps you.

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


1 Like