View Full Version : another question.
airpumpkin
04-07-2005, 04:25 AM
hi again!
Can someone tell me how to find all the files in a folder, including the files in the sub-folders.
THX
-dakis-
04-07-2005, 04:28 AM
Search for *.*, which means all files...
The command should look like:
result = File.Find("C:\\YourDir\\", "*.*", true, true, nil);
Its important to set recurse to true.
airpumpkin
04-07-2005, 04:43 AM
my poor English.
I used to think recurse is of no use.
Thanks a lot.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.