| FILE_SEARCH bug ? [message #57932] |
Mon, 07 January 2008 02:17 |
david[4]
Messages: 5 Registered: January 2008
|
Junior Member |
|
|
Hi all,
I am trying to list the content of a directory using FILE_SEARCH.
The problem is that my directory is mounted in windows XP with SAMBA.
IF I type :
(Z is the samba unit ) 5500 files aprox
a=FILE_SEARCH('z:\images\*.sav') -> more than 10 seconds
a=FINDFILE('z:\images\*.sav') -> less than 1 second
SPAWN,'dir z:\images\*.sav',list -> less than 1 second
If i copy the images to my local disk:
a=FILE_SEARCH('c:\images\*.sav') -> less than 1 second
I have read that file_search is slower than findfile. However findfile
is supposed to be obsolette.
Furthermore i don't understand why there is so much difference listing
the files with file_search or findfiles in
a samba unit. If I execute file_search in a local dir is as fast as
findfile, why ?
thanks,
|
|
|
|