Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help with ADIR command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00291643
Message ID:
00291667
Views:
21
>I am trying to get an array from a specific directory on my harddrive.
>I am doing what I "believe" is correct but the value always returns a "0" and it should return the file count.
>the line is...
>ADIR(temparr,'C:\programfiles\*.*')
>
>I know I'm missing something real simple here!
>
>thanks,

My c:\program files directory has no files in it... just directories.

If you want the directories... something like this works;

? adir(l,"c:\program files\*.*",'D')

HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform