Re: GetFiles to set timestamp on local files - WeOnlyDo Discussion board

Re: GetFiles to set timestamp on local files (General questions)

by wodSupport, Tuesday, February 14, 2006, 16:17 (6856 days ago) @ VicPeters

Vic,

no, unfortunatelly you cannot. You can implement your own GetFiles for this.

Make two collections - collection of folders, and collection of files (containing full paths). Issue ListAttributes on main folder, and put all folders to folders collection, and all files to files collection. Now do this recursively for elements in folders collection as long as there are elements there.

When you empty folders collection, you will have collection of files with full paths you just need to grab.

While doing above, ListAttributes would give you all the details you need, you just need to use them somehow - i.e. only add to files collection those files whose timestamp matches your condition.

Would above idea help?

Kreso


Complete thread: