File system and VB.Net

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Is there a way to get a collection of file system objects
in a directory and filter on the file creation date? I
have seen the DirectoryInfo.GetFileSystemInfos, and I know
that it will take in a filter, but it appears that this
filter is only for the name of the file. I want to avoid
having to loop through each file and check the date
manually.
Thanks
 
Steve said:
Is there a way to get a collection of file system objects
in a directory and filter on the file creation date? I
have seen the DirectoryInfo.GetFileSystemInfos, and I know
that it will take in a filter, but it appears that this
filter is only for the name of the file. I want to avoid
having to loop through each file and check the date
manually.
Thanks

I think there is no way. The function would have to contain this loop
anyway, so you can write it also on your own.
 
Back
Top