hexagon logo

How Do I List all files in a folder?

I would like to end up with an array that contains all filenames in a specified folder. I've cobbled together several ways to do this in VB from examples on the net, but none of them work with PC-DMIS's Cypress Enable crap.

How would I do this?

And can I grab specific properties of these files? Like Date/Time Modified?

Thanks!
Parents
  • Chally,
    I believe that is how I retrieved the file info in the MS Excel Addin I will post later. I need to look it over first because with any add-in I create, I often experiment or add functionality that isn't needed or wanted by the average user.

    The addin lets you simply copy the path of the folder you want to cell A1 and then click a button and it grabs all the file names, file sizes, and the last modified date. It populates the spreadsheet with the info in rows. It's pretty cool.
Reply
  • Chally,
    I believe that is how I retrieved the file info in the MS Excel Addin I will post later. I need to look it over first because with any add-in I create, I often experiment or add functionality that isn't needed or wanted by the average user.

    The addin lets you simply copy the path of the folder you want to cell A1 and then click a button and it grabs all the file names, file sizes, and the last modified date. It populates the spreadsheet with the info in rows. It's pretty cool.
Children
No Data