Hope that this will solve ure problem... I beleve that I got newer code if u want it...
(BTW.. I guess ure from Sweden since u have xxx.telia.com... if thaz so...
Ta o maila mig p? min hotmail s? kan du f? koden.. :0)
/Phlamr.
4. Re: dirlist!!
#731
Posted by: 2003-01-11 06:23:50
Hello, QDIR works fine but it is SLOW and does not work with mustAttributes = "D", so you cannot get the list of Directories without using the "GetFileArgument"... and that's exactly what I now need :). Moreover, the scanning tools used by QDIR (APIs FindFirstFile, FindNextFile), need to scan ALL the files to find the directories. I have a directory with 40000+ files, would take a century to be scanned :).
My question is : is there another way to scan files ? The RapidQ function Dir$ does the same as FindFirstFile and FindNexFile.
There must be something : this command Dir /ad /s >> dir.txt Takes only few seconds ???