List of files from a directory ordered by date

Aquir
Aquir Member Posts: 23
How can I get a list of files from directory ordered by date in NAV? I can't use the File virtual table because there is no key for the date. I've tried with DotNet but implementing the IComparer interface is far too complicated for me.

Any ideas?

Cheers

Best Answer

Answers

  • EvR
    EvR Member Posts: 178
    By date as in, creation or modified date of the file itself?
  • Aquir
    Aquir Member Posts: 23
    Hi, thanks! I've used the temporary table method at the end...even for ≈35k files it was fine!