Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / dirlist!!

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. dirlist!!
#725
Posted by: 2003-01-06 07:06:34
Can anyone explain how (NOT qfilelistbox) to create a
simple dirlist with all subdirs in a directory, ie:

mydir <dir>
file1
file2
mydirsub <dir>
file1
file2
mydirsubsub <dir>
file1
file2
mydir2 <dir>
file1


/thanx, bassplayer1960
Message2. Examples
#726
Posted by: guidance 2003-01-07 00:51:38
Try Qdir:
http://g.slyip.com/_scripts/file.php?f=1918&r=2330

or others:
http://g.slyip.com/_scripts/file.php?f=1035&r=2330
Message3. Re: dirlist!!
#727
Posted by: 2003-01-07 23:04:19
Hi I had the same problem...

Here is the thread in this forum where I present code to do just that

http://citymap.getmyip.com/Forum/read.php?f=10&i=20&t=20#reply_20

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.
Message4. 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 ???

Jacques
Message5. rdir?
#732
Posted by: guidance 2003-01-11 09:08:25
Or try rdir?
http://g.slyip.com/_scripts/file.php?f=1035&r=2330#2801
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Thu 2024-3-28  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0