GezH
Programmer
- Aug 7, 2002
- 68
Hello, I have a simple script which uses the READDIR command to scan through some files in a directory.
I thought the script was fine, as it always scanned the files in date order. But when we moved the script onto a different server (with different OS) these files are now being scanned in a seemingly random order.
Is there a way of enforcing this so that it is always in date order? A flag maybe?
Many thanks!
I thought the script was fine, as it always scanned the files in date order. But when we moved the script onto a different server (with different OS) these files are now being scanned in a seemingly random order.
Is there a way of enforcing this so that it is always in date order? A flag maybe?
Many thanks!