Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store Folder Name in File
Message
From
21/01/2003 16:49:21
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00743025
Message ID:
00743994
Views:
8
Look at adir() and directory() in the help file. That should put you on the right track.

lnCount = adir(laFiles,"*.")
for x = 1 to lnCount
if directory(laFiles[x,1])
*do what ever
endif
endfor

Hope this gets you in the right direction.

-Eric L Scott



>I have 500+ folders and I need to go to each folder to find out how many subfolders are under the main folder and store the subfolder names to a file. I cannot use DOS RUN comment. Can anyone give me some direction what I can do to pull all the information together.
>
>Thanks, Tai Fei Pao
-Eric
Previous
Reply
Map
View

Click here to load this message in the networking platform