Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
All files name into cursor
Message
 
To
12/10/2004 00:17:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00950598
Message ID:
00950607
Views:
12
Hi Tariq,

Check out this code. For more help ADIR() help.
SET DEFAULT TO "DIRECTORY PATH"
Create CURSOR ALLDIRFILES(FN C(100))
gnDbcnumber = ADIR(gaDatabase, '*.*')  && Create array
FOR nCount = 1 TO gnDbcnumber  && Loop for number of databases
   insert into ALLDIRFILES value(gaDatabase(nCount,1))  && Enter File names
ENDFOR
Select ALLDIRFILES
Browse
>Dear Sir,
>
>How to put all files name into a cursor.
>For example, the is a directory as D:\COTTON
>I want to store all folders and files in a cursor.
>
>Please help
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Previous
Reply
Map
View

Click here to load this message in the networking platform