Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory Access Errors with 'CD' or 'SET DEFAULT' comma
Message
From
27/01/1999 08:43:24
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00180446
Message ID:
00180700
Views:
19
>Certain system folders are not directly accessible (VFP doesn't seem to like >to change into a directory with the System attribute set), but you can >manipulate the contents. What do you need to do? For example, to get a list of >the files in C:\WINDOWS\FONTS, you can do something like:

>DECLARE aFiles[1,5]
>nFiles = ADIR(aFiles,'C:\WINDOWS\FONTS\*.*','SH')

Geez. I thought that ADIR required me to change to the directory I wanted to get information about... Don't I feel like the Idiot!

Thanks. That solves my problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform